Skip to content

Latest commit

 

History

History
337 lines (206 loc) · 11.1 KB

long.rst

File metadata and controls

337 lines (206 loc) · 11.1 KB

c

Integer Objects

object: long integer object: integer

All integers are implemented as "long" integer objects of arbitrary size.

On error, most PyLong_As* APIs return (return type)-1 which cannot be distinguished from a number. Use :cPyErr_Occurred to disambiguate.