https://github.com/python/cpython/commit/dc20c1a47e4a9ff7d3671422ee5131399448bdab commit: dc20c1a47e4a9ff7d3671422ee5131399448bdab branch: 3.14 author: Brian Schubert <[email protected]> committer: hugovk <[email protected]> date: 2025-09-11T11:51:42+03:00 summary:
[3.14] Fix typo in Doc/extending/extending.rst (GH-136890) (#137355) Co-authored-by: Cornelius Roemer <[email protected]> files: M Doc/extending/extending.rst diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index ac1c553f021c32..d9eacc4e2f63cc 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
