Home
last modified time | relevance | path

Searched refs:delstr (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Dgcmodule.c64 static PyObject *delstr = NULL; variable
507 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()
/external/python/cpython2/Objects/
Dclassobject.c634 static PyObject *delstr; in instance_dealloc() local
648 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()