ID EN
Sys

maxsize

Python 3.11

An integer giving the maximum value a variable of type Py_ssize_t can take. It’s usually 2**31 - 1 on a 32-bit platform and 2**63 - 1 on a 64-bit platform.

Syntax

PYTHON
sys.maxsize

See Also

Py_ssize_t