Skip to content

Fix doc typos #108592

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 9 commits into from
Aug 29, 2023
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
2 changes: 1 addition & 1 deletion Doc/c-api/stable.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ way; see :ref:`stable-abi-platform` below).
So, code compiled for Python 3.10.0 will work on 3.10.8 and vice versa,
but will need to be compiled separately for 3.9.x and 3.10.x.

There are two tiers of C API with different stability exepectations:
There are two tiers of C API with different stability expectations:

- :ref:`Unstable API <unstable-c-api>`, may change in minor versions without
a deprecation period. It is marked by the ``PyUnstable`` prefix in names.
Expand Down
2 changes: 1 addition & 1 deletion Doc/c-api/typeobj.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1728,7 +1728,7 @@ and :c:data:`PyType_Type` effectively act as defaults.)
treated as read-only.

Some types may not store their dictionary in this slot.
Use :c:func:`PyType_GetDict` to retreive the dictionary for an arbitrary
Use :c:func:`PyType_GetDict` to retrieve the dictionary for an arbitrary
type.

.. versionchanged:: 3.12
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/idle.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Search and Replace

Any selection becomes a search target. However, only selections within
a line work because searches are only performed within lines with the
terminal newline removed. If ``[x] Regular expresion`` is checked, the
terminal newline removed. If ``[x] Regular expression`` is checked, the
target is interpreted according to the Python re module.

.. _completions:
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/importlib.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ an :term:`importer`.

You can get the same effect as this function by implementing the
basic interface of multi-phase init (:pep:`489`) and lying about
support for mulitple interpreters (or per-interpreter GIL).
support for multiple interpreters (or per-interpreter GIL).

.. warning::
Using this function to disable the check can lead to
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ Cursor objects

:raises ProgrammingError:
If *sql* contains more than one SQL statement,
or is not a DML statment.
or is not a DML statement.

Example:

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/statistics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1091,7 +1091,7 @@ parameter, ``h``, representing the variance of the kernel function.
import math

def kde_normal(sample, h):
"Create a continous probability density function from a sample."
"Create a continuous probability density function from a sample."
# Smooth the sample with a normal distribution of variance h.
kernel_h = NormalDist(0.0, math.sqrt(h)).pdf
n = len(sample)
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/tkinter.rst
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Understanding How Tkinter Wraps Tcl/Tk

When your application uses Tkinter's classes and methods, internally Tkinter
is assembling strings representing Tcl/Tk commands, and executing those
commands in the Tcl interpreter attached to your applicaton's :class:`Tk`
commands in the Tcl interpreter attached to your application's :class:`Tk`
instance.

Whether it's trying to navigate reference documentation, trying to find
Expand Down
4 changes: 2 additions & 2 deletions Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ Install Options
Install architecture-independent files in PREFIX. On Unix, it
defaults to :file:`/usr/local`.

This value can be retrived at runtime using :data:`sys.prefix`.
This value can be retrieved at runtime using :data:`sys.prefix`.

As an example, one can use ``--prefix="$HOME/.local/"`` to install
a Python in its home directory.
Expand All @@ -239,7 +239,7 @@ Install Options

Install architecture-dependent files in EPREFIX, defaults to :option:`--prefix`.

This value can be retrived at runtime using :data:`sys.exec_prefix`.
This value can be retrieved at runtime using :data:`sys.exec_prefix`.

.. cmdoption:: --disable-test-modules

Expand Down