> >> It's also helpful to not have to display every attribute, of which
> >> there may be dozens.
> >
> > Do I detect a code smell here?
> >
> I think so, Murphy's law dictates that the attribute you're interested in 
> will not be
> displayed anyway.

That's what __repr__'s for.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to