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

Function record_module_traverse

asyncpg/protocol/record/recordobj.c:1205–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1203}
1204
1205static int
1206record_module_traverse(PyObject *module, visitproc visit, void *arg)
1207{
1208 record_module_state *state = get_module_state(module);
1209 if (state == NULL) {
1210 return 0;
1211 }
1212
1213 Py_VISIT(state->ApgRecord_Type);
1214 Py_VISIT(state->ApgRecordDesc_Type);
1215 Py_VISIT(state->ApgRecordIter_Type);
1216 Py_VISIT(state->ApgRecordItems_Type);
1217
1218 return 0;
1219}
1220
1221static int
1222record_module_clear(PyObject *module)

Callers

nothing calls this directly

Calls 1

get_module_stateFunction · 0.85

Tested by

no test coverage detected