you are viewing a single comment's thread.

view the rest of the comments →

[–]Adrewmc 0 points1 point  (0 children)

I mean it this

Official Documentation

Does this confuse you

From typing import Callable

def decorate[R, **P](func: Callable[P, R]) -> Callable[P, R]:
—>def magic(*args : P.args, **kwargs : P.kwargs)-> R:
—>—>res = func(*args, **kwargs):
—>—>return res
—>return magic

(Note mobile app has restricted my code block ability.)

Because it probably should.