Skip to content

Docs: fix some typos in Doc/library #132511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix some typos in Doc/library
  • Loading branch information
Yzi-Li committed Apr 14, 2025
commit 685233a80140e2bc284a4648376ff1187abda22c
4 changes: 2 additions & 2 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/sys_path_init.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading