Skip to content

Commit 875faaf

Browse files
Fix typos in docs using codespell
1 parent aec7f5f commit 875faaf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ and initialize it by calling :c:func:`PyErr_NewException` in the module's
214214

215215
SpamError = PyErr_NewException("spam.error", NULL, NULL);
216216

217-
Since :c:data:`!SpamError` is a global variable, it will be overwitten every time
217+
Since :c:data:`!SpamError` is a global variable, it will be overwritten every time
218218
the module is reinitialized, when the :c:data:`Py_mod_exec` function is called.
219219

220220
For now, let's avoid the issue: we will block repeated initialization by raising an

Doc/library/shelve.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Restrictions
144144
which can cause hard crashes when trying to read from the database.
145145

146146
* :meth:`Shelf.reorganize` may not be available for all database packages and
147-
may temporarely increase resource usage (especially disk space) when called.
147+
may temporarily increase resource usage (especially disk space) when called.
148148
Additionally, it will never run automatically and instead needs to be called
149149
explicitly.
150150

Doc/whatsnew/3.14.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ Concurrent safe warnings control
10511051
The :class:`warnings.catch_warnings` context manager will now optionally
10521052
use a context variable for warning filters. This is enabled by setting
10531053
the :data:`~sys.flags.context_aware_warnings` flag, either with the ``-X``
1054-
command-line option or an environment variable. This gives predicable
1054+
command-line option or an environment variable. This gives predictable
10551055
warnings control when using :class:`~warnings.catch_warnings` combined with
10561056
multiple threads or asynchronous tasks. The flag defaults to true for the
10571057
free-threaded build and false for the GIL-enabled build.

0 commit comments

Comments
 (0)