@@ -4751,7 +4751,7 @@ to mitigate denial of service attacks. This limit *only* applies to decimal or
47514751other non-power-of-two number bases. Hexadecimal, octal, and binary conversions
47524752are unlimited. The limit can be configured.
47534753
4754- The :class: `int ` type in CPython is an abitrary length number stored in binary
4754+ The :class: `int ` type in CPython is an arbitrary length number stored in binary
47554755form (commonly known as a "bignum"). There exists no algorithm that can convert
47564756a string to a binary integer or a binary integer to a string in linear time,
47574757*unless * the base is a power of 2. Even the best known algorithms for base 10
@@ -4815,7 +4815,7 @@ and :class:`str` or :class:`bytes`:
48154815* ``int(string) `` with default base 10.
48164816* ``int(string, base) `` for all bases that are not a power of 2.
48174817* ``str(integer) ``.
4818- * ``repr(integer) ``
4818+ * ``repr(integer) ``.
48194819* any other string conversion to base 10, for example ``f"{integer}" ``,
48204820 ``"{}".format(integer) ``, or ``b"%d" % integer ``.
48214821
@@ -4843,7 +4843,7 @@ command line flag to configure the limit:
48434843 :envvar: `PYTHONINTMAXSTRDIGITS ` or :option: `-X int_max_str_digits <-X> `.
48444844 If both the env var and the ``-X `` option are set, the ``-X `` option takes
48454845 precedence. A value of *-1 * indicates that both were unset, thus a value of
4846- :data: `sys.int_info.default_max_str_digits ` was used during initilization .
4846+ :data: `sys.int_info.default_max_str_digits ` was used during initialization .
48474847
48484848From code, you can inspect the current limit and set a new one using these
48494849:mod: `sys ` APIs:
0 commit comments