Using __repr__ or __str__ for own printable class?

Steven Taschuk staschuk at telusplanet.net
Thu Apr 17 15:26:42 EDT 2003


Quoth Tim Peters:
> [...] What to do with each
> method is in large part art, and the teachable seem to do OK learning by
> example.  [...]

I wonder, then, whether the docs would benefit from being
augmented with a few examples.

Donn -- would that improve their clarity in your view?

-- 
Steven Taschuk                            staschuk at telusplanet.net
Every public frenzy produces legislation purporting to address it.
                                                  (Kinsley's Law)





More information about the Python-list mailing list