def clear_finalizers(clear_all=False):
 ThreadSafeFinalizer.clear_finalizers(clear_all)
 Finalizer.clear_finalizers(clear_all)

def clear_finalizers ( clear_all = False ) : ThreadSafeFinalizer . clear_finalizers ( clear_all ) Finalizer . clear_finalizers ( clear_all )
removes all registered finalizers in :class:threadsafefinalizer and :class:finalizer .