diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2022-04-02 19:32:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-02 19:32:59 (GMT) |
commit | 677a87946630c5fbd9998969669b4dd4f4b32545 (patch) | |
tree | 1a58783773f5b26f23e7d9e941232ae8ed54e8bb /Doc/c-api/init_config.rst | |
parent | 897bc6f9282238d5fb32d232ab62d30675244736 (diff) | |
download | cpython-677a87946630c5fbd9998969669b4dd4f4b32545.zip cpython-677a87946630c5fbd9998969669b4dd4f4b32545.tar.gz cpython-677a87946630c5fbd9998969669b4dd4f4b32545.tar.bz2 |
More minor fixes to C API docs (GH-31714)
* init_config: wording fixes
* bytearray: remove XXX, there is a good link to the buffer docs
* bytes, call, exceptions: minor wording fixes
Diffstat (limited to 'Doc/c-api/init_config.rst')
-rw-r--r-- | Doc/c-api/init_config.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst index 922412c..bab5313 100644 --- a/Doc/c-api/init_config.rst +++ b/Doc/c-api/init_config.rst @@ -16,12 +16,12 @@ There are two kinds of configuration: * The :ref:`Python Configuration <init-python-config>` can be used to build a customized Python which behaves as the regular Python. For example, - environments variables and command line arguments are used to configure + environment variables and command line arguments are used to configure Python. * 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 + environment variables are ignored, the LC_CTYPE locale is left unchanged and no signal handler is registered. The :c:func:`Py_RunMain` function can be used to write a customized Python @@ -1316,7 +1316,7 @@ Isolated Configuration isolate Python from the system. For example, to embed Python into an application. -This configuration ignores global configuration variables, environments +This configuration ignores global configuration variables, environment variables, command line arguments (:c:member:`PyConfig.argv` is not parsed) and user site directory. The C standard streams (ex: ``stdout``) and the LC_CTYPE locale are left unchanged. Signal handlers are not installed. @@ -1460,7 +1460,7 @@ Multi-Phase Initialization Private Provisional API ================================================== This section is a private provisional API introducing multi-phase -initialization, the core feature of the :pep:`432`: +initialization, the core feature of :pep:`432`: * "Core" initialization phase, "bare minimum Python": |