summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
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.