Inexplicable behavior in simple example of a set in a class

Chris Angelico rosuav at gmail.com
Sat Jul 2 21:14:01 EDT 2011


On Sun, Jul 3, 2011 at 11:07 AM, Chris Rebert <clp2 at rebertia.com> wrote:
>>>>> c,d
>> ({}, [])
>
> Nasty typo in your pseudo-interpreter-session there...

Whoops! This is what I get for trying to be too smart!

>>> c,d
([], [])

Thanks for catching that, Chris. :)

(another) Chris



More information about the Python-list mailing list