Searched refs:delstr (Results 1 – 2 of 2) sorted by relevance
64 static PyObject *delstr = NULL; variable507 assert(delstr != NULL); in has_finalizer()508 return _PyInstance_Lookup(op, delstr) != NULL; in has_finalizer()881 if (delstr == NULL) { in collect()882 delstr = PyString_InternFromString("__del__"); in collect()883 if (delstr == NULL) in collect()
634 static PyObject *delstr; in instance_dealloc() local648 if (delstr == NULL) { in instance_dealloc()649 delstr = PyString_InternFromString("__del__"); in instance_dealloc()650 if (delstr == NULL) in instance_dealloc()653 if (delstr && (del = instance_getattr2(inst, delstr)) != NULL) { in instance_dealloc()