My Tech Notes
Search This Blog
python: int and long are unified
Since Python 2.4,
int
and
long
are unified. Furthermore, from Python 3,
int
is the only type for integer, which has the capacity of
long
in Python 2.
sys.maxint
returns the maximum integer number that Python can hold.
see also
How does Python manage int and long?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment