Lines Matching defs:atexit
550 atexit attribute is true will be run in reverse order of creation.
551 By default atexit is true.
566 __slots__ = ("weakref", "func", "args", "kwargs", "atexit", "index")
572 import atexit
573 atexit.register(self._exitfunc)
580 info.atexit = True
614 def atexit(self):
617 return bool(info) and info.atexit
619 @atexit.setter
620 def atexit(self, value):
623 info.atexit = bool(value)
637 L = [(f,i) for (f,i) in cls._registry.items() if i.atexit]
643 # At shutdown invoke finalizers for which atexit is true.