From f2734bf180ea5fbe9d60309962f774ca925d3328 Mon Sep 17 00:00:00 2001 From: Carl Oscar Aaro Date: Mon, 14 Feb 2022 13:18:45 +0100 Subject: [PATCH] Removed unused type ignore --- cure/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cure/__init__.py b/cure/__init__.py index fc526de..34e3499 100644 --- a/cure/__init__.py +++ b/cure/__init__.py @@ -49,7 +49,7 @@ def decorate(func: Callable, caller: Callable) -> Callable: and inspect.ismethod(func) ): bound_arg = getattr(func, "__self__") - func = func.__func__ # type: ignore + func = func.__func__ if ( not callable(func)