summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-06 13:56:57 (GMT)
committerGitHub <noreply@github.com>2021-10-06 13:56:57 (GMT)
commitd15f47d1797292be7fe7f846f389bcd023a710d5 (patch)
treeef26de028d212b8d91af6e1ddaa7985ed727d061 /Doc/c-api
parent325e4647afffe347cc20747f3dccc6ba9e782636 (diff)
downloadcpython-d15f47d1797292be7fe7f846f389bcd023a710d5.zip
cpython-d15f47d1797292be7fe7f846f389bcd023a710d5.tar.gz
cpython-d15f47d1797292be7fe7f846f389bcd023a710d5.tar.bz2
[3.10] [doc] Fix typos found using codespell (GH-28744) (GH-28758)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/call.rst2
-rw-r--r--Doc/c-api/init_config.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/call.rst b/Doc/c-api/call.rst
index 31dc9c8..739b5e9 100644
--- a/Doc/c-api/call.rst
+++ b/Doc/c-api/call.rst
@@ -185,7 +185,7 @@ Object Calling API
Various functions are available for calling a Python object.
Each converts its arguments to a convention supported by the called object –
either *tp_call* or vectorcall.
-In order to do as litle conversion as possible, pick one that best fits
+In order to do as little conversion as possible, pick one that best fits
the format of data you have available.
The following table summarizes the available functions;
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index fe5b83a..c037f19 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.
@@ -696,7 +696,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.