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

Function PyList_Extend

asyncpg/protocol/record/pythoncapi_compat.h:1031–1035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1029// gh-111138 added PyList_Extend() and PyList_Clear() to Python 3.13.0a2
1030#if PY_VERSION_HEX < 0x030D00A2
1031static inline int
1032PyList_Extend(PyObject *list, PyObject *iterable)
1033{
1034 return PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable);
1035}
1036
1037static inline int
1038PyList_Clear(PyObject *list)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected