MCPcopy Create free account
hub / github.com/simplejson/simplejson / encoder_dealloc

Function encoder_dealloc

simplejson/_speedups.c:3584–3597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3582}
3583
3584static void
3585encoder_dealloc(PyObject *self)
3586{
3587 /* bpo-31095: UnTrack is needed before calling any callbacks */
3588#if PY_VERSION_HEX >= 0x030D0000
3589 PyTypeObject *tp = Py_TYPE(self);
3590#endif
3591 PyObject_GC_UnTrack(self);
3592 encoder_clear(self);
3593 Py_TYPE(self)->tp_free(self);
3594#if PY_VERSION_HEX >= 0x030D0000
3595 Py_DECREF(tp);
3596#endif
3597}
3598
3599static int
3600encoder_traverse(PyObject *self, visitproc visit, void *arg)

Callers

nothing calls this directly

Calls 1

encoder_clearFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…