Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Feb 19, 2024
1 parent b8c19db commit 466845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/recipes/applying-decorators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"P = ParamSpec('P')\n",
"R = TypeVar('R')\n",
"\n",
"def deco(f: Callable[P R]) -> Callable[P, R]:\n",
"def deco(f: Callable[P, R]) -> Callable[P, R]:\n",
" @functools.wraps(f)\n",
" def impl(*args: P.args, **kwargs: P.kwargs) -> R:\n",
" return f(*args, **kwargs)\n",
Expand Down

0 comments on commit 466845c

Please sign in to comment.