Bizarre floating-point output

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Mon Jan 8 12:29:43 EST 2007


Nick Maclaren wrote:

> I think that you should.

Big words.

> Where does it say that tuple's __str__ is the same as its
> __repr__? 

Where does it say that a tuple's __str__ does not call its contents'
__repr__?

> The obvious interpretation of the documentation is that a sequence
> type's __str__ would call __str__ on each sub-object,

Where do you read that? BTW, that makes absolutely no sense to me.
Also, lists of Strings would quickly get messed up when displaying
them using __str__.

Regards,


Björn

-- 
BOFH excuse #359:

YOU HAVE AN I/O ERROR -> Incompetent Operator error




More information about the Python-list mailing list