diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-05 21:48:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 21:48:44 (GMT) |
commit | 241bda785a092a272d7e0f6a4e20bd250c389cfe (patch) | |
tree | d1ec44882a46c83d3a91d6ce5e312954cffab269 /Doc/c-api/init_config.rst | |
parent | 4c8d543823dde5a30615da61727837a48f7ab847 (diff) | |
download | cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.zip cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.gz cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.bz2 |
[doc] Fix typos found using codespell (GH-28744)
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
Diffstat (limited to 'Doc/c-api/init_config.rst')
-rw-r--r-- | Doc/c-api/init_config.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst index 2e52679..989660c 100644 --- a/Doc/c-api/init_config.rst +++ b/Doc/c-api/init_config.rst @@ -22,7 +22,7 @@ There are two kinds of configuration: * The :ref:`Isolated Configuration <init-isolated-conf>` can be used to embed Python into an application. It isolates Python from the system. For example, environments variables are ignored, the LC_CTYPE locale is left unchanged and - no signal handler is registred. + no signal handler is registered. The :c:func:`Py_RunMain` function can be used to write a customized Python program. @@ -706,7 +706,7 @@ PyConfig * Otherwise, use the :term:`locale encoding`: ``nl_langinfo(CODESET)`` result. - At Python statup, the encoding name is normalized to the Python codec + At Python startup, the encoding name is normalized to the Python codec name. For example, ``"ANSI_X3.4-1968"`` is replaced with ``"ascii"``. See also the :c:member:`~PyConfig.filesystem_errors` member. |