| 921 | // gh-107073 added PyObject_VisitManagedDict() to Python 3.13.0a1 |
| 922 | #if PY_VERSION_HEX < 0x030D00A1 |
| 923 | static inline int |
| 924 | PyObject_VisitManagedDict(PyObject *obj, visitproc visit, void *arg) |
| 925 | { |
| 926 | PyObject **dict = _PyObject_GetDictPtr(obj); |
| 927 | if (dict == NULL || *dict == NULL) { |
| 928 | return -1; |
| 929 | } |
| 930 | Py_VISIT(*dict); |
| 931 | return 0; |
| 932 | } |
| 933 | |
| 934 | static inline void |
| 935 | PyObject_ClearManagedDict(PyObject *obj) |
nothing calls this directly
no outgoing calls
no test coverage detected