diff options
author | Victor Stinner <vstinner@python.org> | 2025-01-30 11:17:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 11:17:29 (GMT) |
commit | 3bebe46d3413195ee18c5c9ada83a35d4fd1d0e7 (patch) | |
tree | 8918bff5c9b4782e75a923014886d9b4b44bfed2 /Python/errors.c | |
parent | f927204f64b3f8dbecec784e05bc8e25d2a78b2e (diff) | |
download | cpython-3bebe46d3413195ee18c5c9ada83a35d4fd1d0e7.zip cpython-3bebe46d3413195ee18c5c9ada83a35d4fd1d0e7.tar.gz cpython-3bebe46d3413195ee18c5c9ada83a35d4fd1d0e7.tar.bz2 |
gh-128911: Add PyImport_ImportModuleAttr() function (#128912)
Add PyImport_ImportModuleAttr() and
PyImport_ImportModuleAttrString() functions.
* Add unit tests.
* Replace _PyImport_GetModuleAttr()
with PyImport_ImportModuleAttr().
* Replace _PyImport_GetModuleAttrString()
with PyImport_ImportModuleAttrString().
* Remove "pycore_import.h" includes, no longer needed.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions