@@ -5476,7 +5476,7 @@ to mitigate denial of service attacks. This limit *only* applies to decimal or
5476
5476
other non-power-of-two number bases. Hexadecimal, octal, and binary conversions
5477
5477
are unlimited. The limit can be configured.
5478
5478
5479
- The :class: `int ` type in CPython is an abitrary length number stored in binary
5479
+ The :class: `int ` type in CPython is an arbitrary length number stored in binary
5480
5480
form (commonly known as a "bignum"). There exists no algorithm that can convert
5481
5481
a string to a binary integer or a binary integer to a string in linear time,
5482
5482
*unless * the base is a power of 2. Even the best known algorithms for base 10
@@ -5540,7 +5540,7 @@ and :class:`str` or :class:`bytes`:
5540
5540
* ``int(string) `` with default base 10.
5541
5541
* ``int(string, base) `` for all bases that are not a power of 2.
5542
5542
* ``str(integer) ``.
5543
- * ``repr(integer) ``
5543
+ * ``repr(integer) ``.
5544
5544
* any other string conversion to base 10, for example ``f"{integer}" ``,
5545
5545
``"{}".format(integer) ``, or ``b"%d" % integer ``.
5546
5546
@@ -5568,7 +5568,7 @@ command line flag to configure the limit:
5568
5568
:envvar: `PYTHONINTMAXSTRDIGITS ` or :option: `-X int_max_str_digits <-X> `.
5569
5569
If both the env var and the ``-X `` option are set, the ``-X `` option takes
5570
5570
precedence. A value of *-1 * indicates that both were unset, thus a value of
5571
- :data: `sys.int_info.default_max_str_digits ` was used during initilization .
5571
+ :data: `sys.int_info.default_max_str_digits ` was used during initialization .
5572
5572
5573
5573
From code, you can inspect the current limit and set a new one using these
5574
5574
:mod: `sys ` APIs:
0 commit comments