mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +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 |
||
|---|---|---|
| .. | ||
| abstract.h | ||
| bytearrayobject.h | ||
| bytesobject.h | ||
| ceval.h | ||
| code.h | ||
| compile.h | ||
| dictobject.h | ||
| fileobject.h | ||
| fileutils.h | ||
| frameobject.h | ||
| import.h | ||
| initconfig.h | ||
| interpreteridobject.h | ||
| listobject.h | ||
| methodobject.h | ||
| object.h | ||
| objimpl.h | ||
| odictobject.h | ||
| picklebufobject.h | ||
| pyctype.h | ||
| pydebug.h | ||
| pyerrors.h | ||
| pyfpe.h | ||
| pylifecycle.h | ||
| pymem.h | ||
| pystate.h | ||
| pythonrun.h | ||
| pytime.h | ||
| sysmodule.h | ||
| traceback.h | ||
| tupleobject.h | ||
| unicodeobject.h | ||