On 13/12/15 20:28, Erik wrote:
When you call "print", then the list class's __repr__() method is called
which in turn calls the contained objects' __repr__() methods in turn

I mean the __str__() method, not __repr__() in this case - however, the answer is otherwise the same.

E.

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to