Skip to content

Commit a2d666c

Browse files
committed
Remove incorrect typing reference
1 parent a4d8c30 commit a2d666c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/python/unicorn/unicorn_py3/unicorn.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ def __deprecated_inner(func: Callable[__pT, __rT]) -> Callable[__pT, __rT]:
643643
Every time the decorated function runs, it will emit
644644
a "deprecation" warning."""
645645
@functools.wraps(func)
646-
def new_func(*args: Uc.__pT.args, **kwargs: Uc.__pT.kwargs):
646+
def new_func(*args: __pT.args, **kwargs: __pT.kwargs):
647647
warnings.simplefilter('always', DeprecationWarning) # turn off filter
648648
warnings.warn("Call to a deprecated function {}. {}".format(func.__name__, msg),
649649
category=DeprecationWarning,

0 commit comments

Comments
 (0)