Searched refs:delstr (Results 1 – 4 of 4) sorted by relevance
64 static PyObject *delstr = NULL; variable470 assert(delstr != NULL); in has_finalizer()471 return _PyInstance_Lookup(op, delstr) != NULL; in has_finalizer()833 if (delstr == NULL) { in collect()834 delstr = PyString_InternFromString("__del__"); in collect()835 if (delstr == NULL) in collect()
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()
625 static PyObject *delstr; in instance_dealloc() local639 if (delstr == NULL) { in instance_dealloc()640 delstr = PyString_InternFromString("__del__"); in instance_dealloc()641 if (delstr == NULL) in instance_dealloc()644 if (delstr && (del = instance_getattr2(inst, delstr)) != NULL) { in instance_dealloc()
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()