Because in versions of Python before Python 3, long integer literals were indicated with an l
or L
suffix. In Python 3, int
s and long
s have been merged into just int
, which functions pretty much like long
used to.
Do note that, technically, Python( 2)’s int
was equivalent to C’s long
, while Python’s long
was more like a BigNumber
-type thing with unlimited precision (which is now the case for Python 3’s int
type.)
http://docs.python.org/library/stdtypes.html#numeric-types-int-float-long-complex