informal representation of long integers

Moshe Zadka moshez at zadka.site.co.il
Fri Jan 26 13:22:38 EST 2001


On Fri, 26 Jan 2001 16:54:59 GMT, "Randall Kern" <randy at spoke.net> wrote:

> >>> str(10L)
> '10L'
> >>> repr(10L)
> '10L'
> 
> Just curious why the 'informal' representation of 10L is '10L', rather than
> '10'.

It's not -- in Python 2.x
-- 
Moshe Zadka <sig at zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!
Fingerprint: 4BD1 7705 EEC0 260A 7F21  4817 C7FC A636 46D0 1BD6




More information about the Python-list mailing list