newbie: question about "__repr__"

chenyu chenyu468 at
Thu Nov 6 03:14:55 CET 2003

I have read others' code for study, and found one built-in function
"__repr__". Could anyone give me an simple example for explaining
"when and how" to use it.

Thank you for your attention.
kind regards/chenyu

More information about the Python-list mailing list