Library sys - maxsize

Asked

Viewed 187 times

3

What is this function for sys.maxsize?

import sys

Menor: int = sys.maxsize 

What does this expression mean?

1 answer

5


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

Documentation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.