Skip to content

Commit 4865c09

Browse files
authored
Docs: fix some typos in Doc/library (#132511)
1 parent 844596c commit 4865c09

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Doc/library/sys.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
130130

131131
.. data:: base_exec_prefix
132132

133-
Equivalent to :data:`exec_prefix`, but refering to the base Python installation.
133+
Equivalent to :data:`exec_prefix`, but referring to the base Python installation.
134134

135135
When running under :ref:`sys-path-init-virtual-environments`,
136136
: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
143143

144144
.. data:: base_prefix
145145

146-
Equivalent to :data:`prefix`, but refering to the base Python installation.
146+
Equivalent to :data:`prefix`, but referring to the base Python installation.
147147

148148
When running under :ref:`virtual environment <venv-def>`,
149149
:data:`prefix` gets overwritten to the virtual environment prefix.

Doc/library/sys_path_init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Please refer to :mod:`site`'s
9797
.. note::
9898

9999
There are other ways how "virtual environments" could be implemented, this
100-
documentation referes implementations based on the ``pyvenv.cfg`` mechanism,
100+
documentation refers implementations based on the ``pyvenv.cfg`` mechanism,
101101
such as :mod:`venv`. Most virtual environment implementations follow the
102102
model set by :mod:`venv`, but there may be exotic implementations that
103103
diverge from it.

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ The :mod:`test.support` module defines the following functions:
853853

854854
.. function:: linked_with_musl()
855855

856-
Return ``False`` if there is no evidence the interperter was compiled with
856+
Return ``False`` if there is no evidence the interpreter was compiled with
857857
``musl``, otherwise return a version triple, either ``(0, 0, 0)`` if the
858858
version is unknown, or the actual version if it is known. Intended for use
859859
in ``skip`` decorators. ``emscripten`` and ``wasi`` are assumed to be

0 commit comments

Comments
 (0)