On Tuesday 16 May 2006 02:48, Malcolm Tredinnick wrote:
> Thinking out loud a bit here, more as a reminder to myself: but I
> wonder _why_ this worked? If you have no __str__ method, it will fall
> back to __repr__, so you should have been seeing the same output
> regardless. Are we stomping on
On Mon, 2006-05-15 at 09:27 -0700, beewee wrote:
> Hello,
>
> thanks for your fast answer, it worked :D
Thinking out loud a bit here, more as a reminder to myself: but I wonder
_why_ this worked? If you have no __str__ method, it will fall back to
__repr__, so you should have been seeing the
Hi beewee,
__repr__ has been replaced by __str__ . this is more of a return to
python conventions than anything.
try changing your __repr__ methods to __str__ ones.
more on this here:
3 matches
Mail list logo