https://github.com/python/cpython/commit/80a7017d2649ad5d7d1f83758eeeef50e5eba6b1
commit: 80a7017d2649ad5d7d1f83758eeeef50e5eba6b1
branch: main
author: Cornelius Roemer <cornelius.roe...@gmail.com>
committer: serhiy-storchaka <storch...@gmail.com>
date: 2025-07-23T15:04:59+03:00
summary:

Fix typos in Doc/extending/extending.rst and Doc/library/shelve.rst (GH-136890)

files:
M Doc/extending/extending.rst
M Doc/library/shelve.rst

diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst
index fd63495674651b..a89a69043c0f9f 100644
--- a/Doc/extending/extending.rst
+++ b/Doc/extending/extending.rst
@@ -214,7 +214,7 @@ and initialize it by calling :c:func:`PyErr_NewException` 
in the module's
 
    SpamError = PyErr_NewException("spam.error", NULL, NULL);
 
-Since :c:data:`!SpamError` is a global variable, it will be overwitten every 
time
+Since :c:data:`!SpamError` is a global variable, it will be overwritten every 
time
 the module is reinitialized, when the :c:data:`Py_mod_exec` function is called.
 
 For now, let's avoid the issue: we will block repeated initialization by 
raising an
diff --git a/Doc/library/shelve.rst b/Doc/library/shelve.rst
index 23808619524056..b88fe4157bdc29 100644
--- a/Doc/library/shelve.rst
+++ b/Doc/library/shelve.rst
@@ -144,7 +144,7 @@ Restrictions
   which can cause hard crashes when trying to read from the database.
 
 * :meth:`Shelf.reorganize` may not be available for all database packages and
-  may temporarely increase resource usage (especially disk space) when called.
+  may temporarily increase resource usage (especially disk space) when called.
   Additionally, it will never run automatically and instead needs to be called
   explicitly.
 

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: arch...@mail-archive.com

Reply via email to