]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix typo in Doc/extending/extending.rst (GH-136890) (#137355)
authorBrian Schubert <brianm.schubert@gmail.com>
Thu, 11 Sep 2025 08:51:42 +0000 (04:51 -0400)
committerGitHub <noreply@github.com>
Thu, 11 Sep 2025 08:51:42 +0000 (11:51 +0300)
Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
Doc/extending/extending.rst

index ac1c553f021c32013c5cd6dcdf7103951a87d5a5..d9eacc4e2f63ccc59e9ee7cee12cd9a28d6d4d06 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