https://github.com/python/cpython/commit/4865c09cf3055de2f69abda27c9e971b0fcf98bd
commit: 4865c09cf3055de2f69abda27c9e971b0fcf98bd
branch: main
author: Yongzi Li <[email protected]>
committer: picnixz <[email protected]>
date: 2025-04-14T13:24:46Z
summary:
Docs: fix some typos in `Doc/library` (#132511)
files:
M Doc/library/sys.rst
M Doc/library/sys_path_init.rst
M Doc/library/test.rst
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index dbb5817d34038a..fbfd5e1e75b766 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -130,7 +130,7 @@ always available. Unless explicitly noted otherwise, all
variables are read-only
.. data:: base_exec_prefix
- Equivalent to :data:`exec_prefix`, but refering to the base Python
installation.
+ Equivalent to :data:`exec_prefix`, but referring to the base Python
installation.
When running under :ref:`sys-path-init-virtual-environments`,
:data:`exec_prefix` gets overwritten to the virtual environment prefix.
@@ -143,7 +143,7 @@ always available. Unless explicitly noted otherwise, all
variables are read-only
.. data:: base_prefix
- Equivalent to :data:`prefix`, but refering to the base Python installation.
+ Equivalent to :data:`prefix`, but referring to the base Python installation.
When running under :ref:`virtual environment <venv-def>`,
:data:`prefix` gets overwritten to the virtual environment prefix.
diff --git a/Doc/library/sys_path_init.rst b/Doc/library/sys_path_init.rst
index 18fe32d9c7f10a..a37bb59e7cec76 100644
--- a/Doc/library/sys_path_init.rst
+++ b/Doc/library/sys_path_init.rst
@@ -97,7 +97,7 @@ Please refer to :mod:`site`'s
.. note::
There are other ways how "virtual environments" could be implemented, this
- documentation referes implementations based on the ``pyvenv.cfg`` mechanism,
+ documentation refers implementations based on the ``pyvenv.cfg`` mechanism,
such as :mod:`venv`. Most virtual environment implementations follow the
model set by :mod:`venv`, but there may be exotic implementations that
diverge from it.
diff --git a/Doc/library/test.rst b/Doc/library/test.rst
index 8c06a2b04bfaa5..0aae14c15a6104 100644
--- a/Doc/library/test.rst
+++ b/Doc/library/test.rst
@@ -853,7 +853,7 @@ The :mod:`test.support` module defines the following
functions:
.. function:: linked_with_musl()
- Return ``False`` if there is no evidence the interperter was compiled with
+ Return ``False`` if there is no evidence the interpreter was compiled with
``musl``, otherwise return a version triple, either ``(0, 0, 0)`` if the
version is unknown, or the actual version if it is known. Intended for use
in ``skip`` decorators. ``emscripten`` and ``wasi`` are assumed to be
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]