Why does str(aList) use repr() on the list's elements?
Jeremy Fincher
tweedgeezer at hotmail.com
Sun Aug 18 02:26:07 EDT 2002
The subject pretty much says it all -- one would think that the str()
of a list would use str() on its elements, but it uses repr() instead.
Why is this?
Thanks,
Jeremy
More information about the Python-list
mailing list