Skip to content

Commit

Permalink
pythongh-97956: Mention generate_global_objects.py in AC How-To
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored Oct 6, 2022
1 parent 0d68879 commit f130f74
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Doc/howto/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,17 @@ Let's dive in!
};


16. Compile, then run the relevant portions of the regression-test suite.
16. Code generated by Argument Clinic might use ``_Py_ID`` macro inside.

Sample::

&_Py_ID(new_unique_py_id)

It means that you would need to run ``Tools/scripts/generate_global_objects.py``
script to generate global string objects for the interpreter.


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.

Expand Down

0 comments on commit f130f74

Please sign in to comment.