PyDocs

Nav

Development Tools

adjust_int_max_str_digits

test.support

function · Added in 3.11
  • adjust_int_max_str_digits(max_digits)
This function returns a context manager that will change the global sys.set_int_max_str_digits() setting for the duration of the context to allow execution of test code that needs a different limit on the number of digits when converting between an integer and string.
0 Examples
No examples for test.support/adjust_int_max_str_digits.
See Also
No see-alsos for test.support/adjust_int_max_str_digits
0 Notes
No notes for adjust_int_max_str_digits