On this page
  1. sys.get_int_max_str_digits
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

sys.get_int_max_str_digits

Prev: sys.get_coroutine_origin_tracking_depth | Up: sys | Next: sys.getallocatedblocks
Rel: sys.activate_stack_trampoline, sys.addaudithook, sys.audit, sys.breakpointhook
Ref: docs.python.org — sys.get_int_max_str_digits
Tags: #public #python3 #stdlib #sys


Import

import sys
from sys import get_int_max_str_digits

Signature & Overview

sys.get_int_max_str_digits()

Return the maximum string digits limit for non-binary int<->str conversions.

Usage

import sys

limit = sys.get_int_max_str_digits()
assert limit == 0 or limit >= 640

Gotchas

REPL Inspect

from sys import get_int_max_str_digits
help(get_int_max_str_digits)

Linked from

Related notes