Why tuples ???

Neil Schemenauer nas at python.ca
Mon Apr 23 16:37:49 EDT 2001


Michael Hudson wrote:
> "Fredrik Lundh" <fredrik at pythonware.com> writes:
> > >>> T = (1, 2, 3)
> > >>> L = (1, 2, 3)
> 
> How did you manage that typo?  I can't believe you cooked up the whole
> session - unless you can type tracebacks from memory, which would be
> scary...

Someone must have accidently did:

    ListType.__str__ = TupleType.__str__

Time to reboot the bot.  

  Neil




More information about the Python-list mailing list