str() for containers

Donn Cave donn at u.washington.edu
Wed Jun 16 13:41:56 EDT 2004


In article <40d07ac6 at rutgers.edu>,
 "George Sakkis" <gsakkis at rutgers.edu> wrote:

> I find the string representation behaviour of builtin containers
> (tuples,lists,dicts) unintuitive in that they don't call recursively str()
> on their contents (e.g. as in Java)

Please find last week's answers to this question at
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=62e7a6469ac7b40b

If you're still interested in further discussion of this
point, you could present an account of Java's approach
for the edification of those of us who don't know.

   Donn Cave, donn at u.washington.edu



More information about the Python-list mailing list