mirror of
https://github.com/python/cpython.git
synced 2026-01-28 05:35:31 +00:00
It combines PyImport_ImportModule() and PyObject_GetAttrString() and saves 4-6 lines of code on every use. Add also _PyImport_GetModuleAttr() which takes Python strings as arguments. (cherry picked from commit 6fd4c8ec7740523bb81191c013118d9d6959bc9d)
Miscellaneous source files for the main Python shared library