On Thu, Jan 12, 2012 at 1:18 PM, Chris Nelson <[email protected]> wrote:
> Which doesn't work because t.values() returns a list which doesn't have a
> copy function.  So I do
>
>  copy.copy(t.values())
>
> only to find out that that gives me a list of raw values without keys which
> makes it rather useless to me.

Yeah.  What you want is actually:

 ``t.copy()`` or ``dict(t)`` (the latter is idiomatic)

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to