Skip to content

Commit aa4525f

Browse files
[3.13] Fix typo in Doc/extending/extending.rst (GH-136890) (#137561)
Co-authored-by: Cornelius Roemer <[email protected]>
1 parent 0529246 commit aa4525f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/extending/extending.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ and initialize it by calling :c:func:`PyErr_NewException` in the module's
239239

240240
SpamError = PyErr_NewException("spam.error", NULL, NULL);
241241

242-
Since :c:data:`!SpamError` is a global variable, it will be overwitten every time
242+
Since :c:data:`!SpamError` is a global variable, it will be overwritten every time
243243
the module is reinitialized, when the :c:data:`Py_mod_exec` function is called.
244244

245245
For now, let's avoid the issue: we will block repeated initialization by raising an

0 commit comments

Comments
 (0)