mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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().
This commit is contained in:
parent
f6d2bb18ab
commit
2e92edbf6d
8 changed files with 46 additions and 22 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "blob.h"
|
||||
#include "prepare_protocol.h"
|
||||
#include "util.h"
|
||||
#include "pycore_import.h" // _PyImport_GetModuleAttrString()
|
||||
#include "pycore_weakref.h" // _PyWeakref_IS_DEAD()
|
||||
|
||||
#include <stdbool.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue