This commit is contained in:
Kayla Man 2023-12-15 23:55:46 +08:00
parent b7da570878
commit 4e005bfd57

View file

@ -5,8 +5,7 @@ if getattr(contextlib, "nested", None):
else:
import sys
from collections import deque
class ExitStack(object):
class ExitStack(object)
"""Context manager for dynamic management of a stack of exit callbacks
For example: