Visitar URL original
gh-97956: Mention `generate_global_objects.py` in `AC How-To` by sobolevn · Pull Request #97957 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Address review
  • Loading branch information
sobolevn authored Oct 6, 2022
commit f1a23cb2e5246f65b127d28fda4f43b203a7a45d
8 changes: 3 additions & 5 deletions Doc/howto/clinic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -539,14 +539,12 @@ Let's dive in!
};


16. Code generated by Argument Clinic might use ``_Py_ID`` macro inside.

Sample::
16. Argument Clinic may generate new instances of ``_Py_ID``. For example::

&_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.
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.
Expand Down