PyDocs

Nav

Python Runtime Services

int_info

sys

data · Added in 3.1
A named tuple that holds information about Python’s internal representation of integers. The attributes are read only.
Changed in 3.11
  • 3.11: Added default_max_str_digits and str_digits_check_threshold.
Members of int_info

b

bits_per_digit
size of a digit in bits

d

default_max_str_digits
maximum string conversion digits limitation

s

sizeof_digit
size in bytes of the C type used to represent a digit
str_digits_check_threshold
minimum positive value for int_max_str_digits
0 Examples
No examples for sys/int_info.
See Also
No see-alsos for sys/int_info
0 Notes
No notes for int_info