summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorPeter Jiping Xie <peter.jp.xie@gmail.com>2023-01-28 09:57:40 (GMT)
committerGitHub <noreply@github.com>2023-01-28 09:57:40 (GMT)
commitdb757f0e440d2b3fd3a04dd771907838e0c2241c (patch)
tree71aa40be20f3d9a51a55519986de60d952419835 /Doc/c-api
parent052f53d65d9f65c7c3223a383857ad07a182c2d7 (diff)
downloadcpython-db757f0e440d2b3fd3a04dd771907838e0c2241c.zip
cpython-db757f0e440d2b3fd3a04dd771907838e0c2241c.tar.gz
cpython-db757f0e440d2b3fd3a04dd771907838e0c2241c.tar.bz2
gh-101386: fix typos found by codespell (#101387)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/init_config.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index c3346b0..161def0 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -839,7 +839,7 @@ PyConfig
will produce an error.
Configured by the :option:`-X int_max_str_digits <-X>` command line
- flag or the :envvar:`PYTHONINTMAXSTRDIGITS` environment varable.
+ flag or the :envvar:`PYTHONINTMAXSTRDIGITS` environment variable.
Default: ``-1`` in Python mode. 4300
(:data:`sys.int_info.default_max_str_digits`) in isolated mode.
@@ -1582,7 +1582,7 @@ applied during the "Main" phase. It may allow to customize Python in Python to
override or tune the :ref:`Path Configuration <init-path-config>`, maybe
install a custom :data:`sys.meta_path` importer or an import hook, etc.
-It may become possible to calculatin the :ref:`Path Configuration
+It may become possible to calculate the :ref:`Path Configuration
<init-path-config>` in Python, after the Core phase and before the Main phase,
which is one of the :pep:`432` motivation.