[3.13] Fix typo in Doc/extending/extending.rst (GH-136890) (#137561)
Some checks are pending
Tests / Change detection (push) Waiting to run
Tests / Docs (push) Blocked by required conditions
Tests / Check if the ABI has changed (push) Blocked by required conditions
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions
Tests / Check if generated files are up to date (push) Blocked by required conditions
Tests / (push) Blocked by required conditions
Tests / Windows MSI (push) Blocked by required conditions
Tests / Ubuntu SSL tests with OpenSSL (push) Blocked by required conditions
Tests / WASI (push) Blocked by required conditions
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions
Tests / Address sanitizer (push) Blocked by required conditions
Tests / Sanitizers (push) Blocked by required conditions
Tests / CIFuzz (push) Blocked by required conditions
Tests / All required checks pass (push) Blocked by required conditions
Lint / lint (push) Waiting to run

Co-authored-by: Cornelius Roemer <cornelius.roemer@gmail.com>
This commit is contained in:
Hugo van Kemenade 2025-08-08 19:29:36 +03:00 committed by GitHub
parent 05292462b6
commit aa4525fc45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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