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