diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-03 23:02:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-03 23:02:07 (GMT) |
commit | 2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a (patch) | |
tree | 7cb29fc57a2a2ddc93393005fc592346d3e03d6a /Modules/cjkcodecs | |
parent | f6d2bb18aba844f6bb5836797c72eb791b7f3644 (diff) | |
download | cpython-2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a.zip cpython-2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a.tar.gz cpython-2e92edbf6de9578b30cca8e48c4bfb2ba71ae97a.tar.bz2 |
gh-106320: Remove private _PyImport C API functions (#106383)
* Remove private _PyImport C API functions: move them to the internal
C API (pycore_import.h).
* No longer export most of these private functions.
* _testcapi avoids private _PyImport_GetModuleAttrString().
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r-- | Modules/cjkcodecs/cjkcodecs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h index 97290aa..ee58878 100644 --- a/Modules/cjkcodecs/cjkcodecs.h +++ b/Modules/cjkcodecs/cjkcodecs.h @@ -13,6 +13,7 @@ #include "Python.h" #include "multibytecodec.h" +#include "pycore_import.h" // _PyImport_GetModuleAttrString() /* a unicode "undefined" code point */ |