Skip to content

Commit

Permalink
Merge pull request #134 from scipp/decorated-providers
Browse files Browse the repository at this point in the history
Fix typo introduced in #128
  • Loading branch information
jl-wynen authored Feb 19, 2024
2 parents b8c19db + 466845c commit 3c8eb3a
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 3c8eb3a

Please sign in to comment.