https://github.com/python/cpython/commit/aa4525fc45c3a630f4529fb66989bb7865387f05 commit: aa4525fc45c3a630f4529fb66989bb7865387f05 branch: 3.13 author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: hugovk <1324225+hug...@users.noreply.github.com> date: 2025-08-08T16:29:36Z summary:
[3.13] Fix typo in Doc/extending/extending.rst (GH-136890) (#137561) Co-authored-by: Cornelius Roemer <cornelius.roe...@gmail.com> files: M Doc/extending/extending.rst diff --git a/Doc/extending/extending.rst b/Doc/extending/extending.rst index c0a7a3ac678a7f..17c6fb224265ca 100644 --- a/Doc/extending/extending.rst +++ b/Doc/extending/extending.rst @@ -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 _______________________________________________ Python-checkins mailing list -- python-checkins@python.org To unsubscribe send an email to python-checkins-le...@python.org https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: arch...@mail-archive.com