diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-10-07 18:54:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 18:54:45 (GMT) |
commit | 586cfb01311cac1defb883b928fbb368d6d38e55 (patch) | |
tree | a2eca51f1003cf451cf56006491f7b28f4731832 | |
parent | c81c64ca58822156beba79dfd3035bf2a5b7354e (diff) | |
download | cpython-586cfb01311cac1defb883b928fbb368d6d38e55.zip cpython-586cfb01311cac1defb883b928fbb368d6d38e55.tar.gz cpython-586cfb01311cac1defb883b928fbb368d6d38e55.tar.bz2 |
gh-97956: Mention `generate_global_objects.py` in `AC How-To` (#97957)
-rw-r--r-- | Doc/howto/clinic.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/howto/clinic.rst b/Doc/howto/clinic.rst index d634c4b..b8afc7e 100644 --- a/Doc/howto/clinic.rst +++ b/Doc/howto/clinic.rst @@ -539,7 +539,15 @@ Let's dive in! }; -16. Compile, then run the relevant portions of the regression-test suite. +16. Argument Clinic may generate new instances of ``_Py_ID``. For example:: + + &_Py_ID(new_unique_py_id) + + If it does, you'll have to run ``Tools/scripts/generate_global_objects.py`` + to regenerate the list of precompiled identifiers at this point. + + +17. Compile, then run the relevant portions of the regression-test suite. This change should not introduce any new compile-time warnings or errors, and there should be no externally visible change to Python's behavior. |