@@ -5254,7 +5254,7 @@ to mitigate denial of service attacks. This limit *only* applies to decimal or
5254
5254
other non-power-of-two number bases. Hexadecimal, octal, and binary conversions
5255
5255
are unlimited. The limit can be configured.
5256
5256
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
5258
5258
form (commonly known as a "bignum"). There exists no algorithm that can convert
5259
5259
a string to a binary integer or a binary integer to a string in linear time,
5260
5260
*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`:
5318
5318
* ``int(string) `` with default base 10.
5319
5319
* ``int(string, base) `` for all bases that are not a power of 2.
5320
5320
* ``str(integer) ``.
5321
- * ``repr(integer) ``
5321
+ * ``repr(integer) ``.
5322
5322
* any other string conversion to base 10, for example ``f"{integer}" ``,
5323
5323
``"{}".format(integer) ``, or ``b"%d" % integer ``.
5324
5324
@@ -5346,7 +5346,7 @@ command line flag to configure the limit:
5346
5346
:envvar: `PYTHONINTMAXSTRDIGITS ` or :option: `-X int_max_str_digits <-X> `.
5347
5347
If both the env var and the ``-X `` option are set, the ``-X `` option takes
5348
5348
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 .
5350
5350
5351
5351
From code, you can inspect the current limit and set a new one using these
5352
5352
:mod: `sys ` APIs:
0 commit comments