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()884 if (delstr == NULL) { in collect()885 delstr = PyString_InternFromString("__del__"); in collect()886 if (delstr == NULL) in collect()
635 static PyObject *delstr; in instance_dealloc() local649 if (delstr == NULL) { in instance_dealloc()650 delstr = PyString_InternFromString("__del__"); in instance_dealloc()651 if (delstr == NULL) in instance_dealloc()654 if (delstr && (del = instance_getattr2(inst, delstr)) != NULL) { in instance_dealloc()