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

Function Py_GetConstantBorrowed

asyncpg/protocol/record/pythoncapi_compat.h:1293–1298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1291}
1292
1293static inline PyObject* Py_GetConstantBorrowed(unsigned int constant_id)
1294{
1295 PyObject *obj = Py_GetConstant(constant_id);
1296 Py_XDECREF(obj);
1297 return obj;
1298}
1299#endif
1300
1301

Callers

nothing calls this directly

Calls 1

Py_GetConstantFunction · 0.85

Tested by

no test coverage detected