This commit is contained in:
Mark Qvist
2026-07-18 19:23:02 +02:00
parent 88833f170b
commit d93f9798ae
7 changed files with 80 additions and 99 deletions
-2
View File
@@ -53,8 +53,6 @@ class permit(AbstractContextManager):
"""
def __init__(self, *exceptions): self._exceptions = exceptions
def __enter__(self): pass
def __exit__(self, exctype, excinst, exctb):
return exctype is not None and not issubclass(exctype, self._exceptions)