Library sys - maxsize

3

How does this sys.maxsize function work?

import sys

Menor: int = sys.maxsize 

What does this expression mean?

    
asked by anonymous 11.04.2018 / 21:37

1 answer

5

It is not a function, it is a constant. It indicates the highest addressable value that this Python implementation supports. At 32 bits it should be 4,294,967,295 and at 64 bits it should be 18,446,744,073,709,551,615.

Documentation .

    
11.04.2018 / 21:43