]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typos in Doc/extending/extending.rst and Doc/library/shelve.rst (GH-136890)
authorCornelius Roemer <cornelius.roemer@gmail.com>
Wed, 23 Jul 2025 12:04:59 +0000 (14:04 +0200)
committerGitHub <noreply@github.com>
Wed, 23 Jul 2025 12:04:59 +0000 (15:04 +0300)
Doc/extending/extending.rst
Doc/library/shelve.rst

index fd63495674651bcf6222cd23920b973644d0f7c1..a89a69043c0f9f931fc17d7dae27f99885cfcd79 100644 (file)
@@ -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
index 238086195240565e75115227c43f40c3e1595c8d..b88fe4157bdc29d22cdee79496333c3e49c997a7 100644 (file)
@@ -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.