]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix typo in Doc/extending/extending.rst (GH-136890) (#137561)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Fri, 8 Aug 2025 16:29:36 +0000 (19:29 +0300)
committerGitHub <noreply@github.com>
Fri, 8 Aug 2025 16:29:36 +0000 (16:29 +0000)
Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
Doc/extending/extending.rst

index c0a7a3ac678a7fe261814202bd9d1bc09d5c797d..17c6fb224265cacec46d46ac078e7aebbe582050 100644 (file)
@@ -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