From a2d666c8e71fcbf7215448c10ae28b4a7d136a66 Mon Sep 17 00:00:00 2001 From: mio Date: Sat, 15 Feb 2025 20:12:48 +0800 Subject: [PATCH] Remove incorrect typing reference --- bindings/python/unicorn/unicorn_py3/unicorn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/unicorn/unicorn_py3/unicorn.py b/bindings/python/unicorn/unicorn_py3/unicorn.py index 61421b40..be68d3fc 100644 --- a/bindings/python/unicorn/unicorn_py3/unicorn.py +++ b/bindings/python/unicorn/unicorn_py3/unicorn.py @@ -643,7 +643,7 @@ class Uc(RegStateManager): Every time the decorated function runs, it will emit a "deprecation" warning.""" @functools.wraps(func) - def new_func(*args: Uc.__pT.args, **kwargs: Uc.__pT.kwargs): + def new_func(*args: __pT.args, **kwargs: __pT.kwargs): warnings.simplefilter('always', DeprecationWarning) # turn off filter warnings.warn("Call to a deprecated function {}. {}".format(func.__name__, msg), category=DeprecationWarning,