Skip to content

Commit e630cce

Browse files
sobolevnerlend-aasland
authored andcommitted
python/cpython#97956: Mention generate_global_objects.py in AC How-To (python/cpython#97957)
1 parent 2f81c6b commit e630cce

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Doc/howto/clinic.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,15 @@ Let's dive in!
539539
};
540540

541541

542-
16. Compile, then run the relevant portions of the regression-test suite.
542+
16. Argument Clinic may generate new instances of ``_Py_ID``. For example::
543+
544+
&_Py_ID(new_unique_py_id)
545+
546+
If it does, you'll have to run ``Tools/scripts/generate_global_objects.py``
547+
to regenerate the list of precompiled identifiers at this point.
548+
549+
550+
17. Compile, then run the relevant portions of the regression-test suite.
543551
This change should not introduce any new compile-time warnings or errors,
544552
and there should be no externally visible change to Python's behavior.
545553

0 commit comments

Comments
 (0)