mirror of
https://github.com/python/cpython.git
synced 2026-05-07 05:01:13 -04:00
968b238b5e
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 commit6fd4c8ec77) (cherry picked from commitd42b3689f4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miscellaneous source files for the main Python shared library