question about class vs class at

Tim Roberts timr at probo.com
Mon Apr 27 00:45:46 EDT 2009


grocery_stocker <cdalten at gmail.com> wrote:
>
>Maybe. I guess I haven't been around python long enough to realize
>that there was a difference in 'output' between the old-style class
>and new-style class.

Also remember that a class can define its own string to print there.  What
you see is the output of the __repr__ function of the class.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list