MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / PyImport_AddModuleRef

Function PyImport_AddModuleRef

asyncpg/protocol/record/pythoncapi_compat.h:561–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

559// gh-105922 added PyImport_AddModuleRef() to Python 3.13.0a1
560#if PY_VERSION_HEX < 0x030D00A0
561static inline PyObject* PyImport_AddModuleRef(const char *name)
562{
563 return Py_XNewRef(PyImport_AddModule(name));
564}
565#endif
566
567

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected