diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 15:40:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 15:40:56 (GMT) |
commit | f1ae706ca53d43890cf09ccf052d783e97ba4b28 (patch) | |
tree | d4f8bdd2462bd3091674c068f53ef456e368d2a2 /Modules | |
parent | 52c6a6e48a5fa12af401810722cfcad859e9881a (diff) | |
download | cpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.zip cpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.tar.gz cpython-f1ae706ca53d43890cf09ccf052d783e97ba4b28.tar.bz2 |
gh-107211: No longer export internal functions (7) (#108425)
No longer export _PyUnicode_FromId() internal C API function.
Change comment style to "// comment" and add comment explaining why
other functions have to be exported.
Update Tools/build/generate_token.py to update Include/internal/pycore_token.h
comments.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testinternalcapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testinternalcapi.c b/Modules/_testinternalcapi.c index 5571ae4..7b98885 100644 --- a/Modules/_testinternalcapi.c +++ b/Modules/_testinternalcapi.c @@ -14,9 +14,9 @@ #include "pycore_bitutils.h" // _Py_bswap32() #include "pycore_bytesobject.h" // _PyBytes_Find() #include "pycore_compile.h" // _PyCompile_CodeGen, _PyCompile_OptimizeCfg, _PyCompile_Assemble, _PyCompile_CleanDoc -#include "pycore_ceval.h" // _PyEval_AddPendingCall +#include "pycore_ceval.h" // _PyEval_AddPendingCall() #include "pycore_dict.h" // _PyDictOrValues_GetValues() -#include "pycore_fileutils.h" // _Py_normpath +#include "pycore_fileutils.h" // _Py_normpath() #include "pycore_frame.h" // _PyInterpreterFrame #include "pycore_gc.h" // PyGC_Head #include "pycore_hashtable.h" // _Py_hashtable_new() |