From 7ce6ef71ef6ebfe90270c1eb3ff6833aa2a7c00b Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Wed, 23 Jul 2025 14:04:59 +0200 Subject: [PATCH] [3.13] Fix typos in Doc/extending/extending.rst and Doc/library/shelve.rst (GH-136890) (cherry picked from commit 80a7017d2649ad5d7d1f83758eeeef50e5eba6b1) Co-authored-by: Cornelius Roemer --- Doc/extending/extending.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index c0a7a3ac678a7f..17c6fb224265ca 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -239,7 +239,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