Peng Yu <pengyu...@gmail.com> wrote:
> Is __repr__ = __str__ copy by reference or by value? If I change
> __str__ later on, will __repr__ be changed automatically?

What would you expect the outcome to be if these were functions rather
than class methods? (Or any type of object, really...)

Wouldn't it be quicker (and certainly less spammy) to test this out in
the interpreter?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to