From 7b0547b3ea5c830aeb023d43836aea0e54a0e068 Mon Sep 17 00:00:00 2001 From: Evgeniy Blinov Date: Sat, 2 Mar 2024 19:49:37 +0300 Subject: [PATCH] no extra import --- README.md | 2 +- escape/proxy_module.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 585582d..316c394 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ You can use `escape` as a context manager. It works almost the same way as [`con with escape: raise ValueError -with escape(): +with escape(...): raise ValueError ``` diff --git a/escape/proxy_module.py b/escape/proxy_module.py index 1e0adc1..145cd4a 100644 --- a/escape/proxy_module.py +++ b/escape/proxy_module.py @@ -1,5 +1,5 @@ import sys -from typing import Type, Tuple, List, Callable, Union, Optional, Any +from typing import Type, Tuple, Callable, Union, Optional, Any from types import TracebackType from inspect import isclass from itertools import chain