Skip to content

Commit

Permalink
type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Jan 10, 2024
1 parent 1685362 commit 9ccd013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exception_escaping/proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


class ProxyModule(sys.modules[__name__].__class__): # type: ignore[misc]
def __call__(self, *args: Callable[..., Any], default_return: Any = None) -> Union[Callable[..., Any], Callable[Callable[..., Any], Callable[..., Any]]]:
def __call__(self, *args: Callable[..., Any], default_return: Any = None) -> Union[Callable[..., Any], Callable[[Callable[..., Any]], Callable[..., Any]]]:
def wrapper_of_wrappers(function: Callable[..., Any]) -> Callable[..., Any]:
@wraps(function)
def wrapper(*args: Any, **kwargs: Any) -> Any:
Expand Down

0 comments on commit 9ccd013

Please sign in to comment.