Skip to content

Commit f130f74

Browse files
authored
pythongh-97956: Mention generate_global_objects.py in AC How-To
1 parent 0d68879 commit f130f74

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Doc/howto/clinic.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,17 @@ Let's dive in!
539539
};
540540

541541

542-
16. Compile, then run the relevant portions of the regression-test suite.
542+
16. Code generated by Argument Clinic might use ``_Py_ID`` macro inside.
543+
544+
Sample::
545+
546+
&_Py_ID(new_unique_py_id)
547+
548+
It means that you would need to run ``Tools/scripts/generate_global_objects.py``
549+
script to generate global string objects for the interpreter.
550+
551+
552+
17. Compile, then run the relevant portions of the regression-test suite.
543553
This change should not introduce any new compile-time warnings or errors,
544554
and there should be no externally visible change to Python's behavior.
545555

0 commit comments

Comments
 (0)