Searched refs:clsreduce (Results 1 – 2 of 2) sorted by relevance
4565 PyObject *cls, *clsreduce; in object___reduce_ex___impl() local4569 clsreduce = _PyObject_GetAttrId(cls, &PyId___reduce__); in object___reduce_ex___impl()4570 if (clsreduce == NULL) { in object___reduce_ex___impl()4574 override = (clsreduce != objreduce); in object___reduce_ex___impl()4575 Py_DECREF(clsreduce); in object___reduce_ex___impl()
3548 PyObject *cls, *clsreduce, *objreduce; in object_reduce_ex() local3555 clsreduce = PyObject_GetAttrString(cls, "__reduce__"); in object_reduce_ex()3557 if (clsreduce == NULL) { in object_reduce_ex()3563 override = (clsreduce != objreduce); in object_reduce_ex()3564 Py_DECREF(clsreduce); in object_reduce_ex()