Howdy all, The builtin types have __repr__ attributes that return something nice, that looks like the syntax one would use to create that particular instance.
The default __repr__ for custom classes show the fully-qualified class name, and the memory address of the instance. If I want to implement a __repr__ that's reasonably "nice" to the programmer, what's the Right Way? Are there recipes I should look at? -- \ "For certain people, after fifty, litigation takes the place of | `\ sex." -- Gore Vidal | _o__) | Ben Finney -- http://mail.python.org/mailman/listinfo/python-list