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

Function PyList_Clear

asyncpg/protocol/record/pythoncapi_compat.h:1037–1041  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1035}
1036
1037static inline int
1038PyList_Clear(PyObject *list)
1039{
1040 return PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, NULL);
1041}
1042#endif
1043
1044// gh-111262 added PyDict_Pop() and PyDict_PopString() to Python 3.13.0a2

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected