@@ -5254,7 +5254,7 @@ to mitigate denial of service attacks. This limit *only* applies to decimal or
52545254other non-power-of-two number bases. Hexadecimal, octal, and binary conversions
52555255are unlimited. The limit can be configured.
52565256
5257- The :class: `int ` type in CPython is an abitrary length number stored in binary
5257+ The :class: `int ` type in CPython is an arbitrary length number stored in binary
52585258form (commonly known as a "bignum"). There exists no algorithm that can convert
52595259a string to a binary integer or a binary integer to a string in linear time,
52605260*unless * the base is a power of 2. Even the best known algorithms for base 10
@@ -5318,7 +5318,7 @@ and :class:`str` or :class:`bytes`:
53185318* ``int(string) `` with default base 10.
53195319* ``int(string, base) `` for all bases that are not a power of 2.
53205320* ``str(integer) ``.
5321- * ``repr(integer) ``
5321+ * ``repr(integer) ``.
53225322* any other string conversion to base 10, for example ``f"{integer}" ``,
53235323 ``"{}".format(integer) ``, or ``b"%d" % integer ``.
53245324
@@ -5346,7 +5346,7 @@ command line flag to configure the limit:
53465346 :envvar: `PYTHONINTMAXSTRDIGITS ` or :option: `-X int_max_str_digits <-X> `.
53475347 If both the env var and the ``-X `` option are set, the ``-X `` option takes
53485348 precedence. A value of *-1 * indicates that both were unset, thus a value of
5349- :data: `sys.int_info.default_max_str_digits ` was used during initilization .
5349+ :data: `sys.int_info.default_max_str_digits ` was used during initialization .
53505350
53515351From code, you can inspect the current limit and set a new one using these
53525352:mod: `sys ` APIs:
0 commit comments