Skip to content

Commit dc20c1a

Browse files
[3.14] Fix typo in Doc/extending/extending.rst (GH-136890) (#137355)
Co-authored-by: Cornelius Roemer <[email protected]>
1 parent badab2c commit dc20c1a

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
@@ -214,7 +214,7 @@ and initialize it by calling :c:func:`PyErr_NewException` in the module's
214214

215215
SpamError = PyErr_NewException("spam.error", NULL, NULL);
216216

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

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

0 commit comments

Comments
 (0)