aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nb/core.py2
-rw-r--r--nbs/core.ipynb2
2 files changed, 2 insertions, 2 deletions
diff --git a/nb/core.py b/nb/core.py
index 04a313b..559c259 100644
--- a/nb/core.py
+++ b/nb/core.py
@@ -35,7 +35,7 @@ def patch_to(
def patch(
fn:Callable|None=None, # The function to patch onto the object specified via a `self` or `cls` type hint.
prop:bool=False, # Whether to patch `fn` onto the `self` type hint as a property.
-)->Callable: # The patched `fn`
+)->Callable: # The patched `fn`
"""Decorator to patch an object using type hints on `fn`.
`fn` must have either `self` or `cls` arguments present with a type hint.
diff --git a/nbs/core.ipynb b/nbs/core.ipynb
index 5df15b2..b3f58f4 100644
--- a/nbs/core.ipynb
+++ b/nbs/core.ipynb
@@ -352,7 +352,7 @@
"def patch(\n",
" fn:Callable|None=None, # The function to patch onto the object specified via a `self` or `cls` type hint.\n",
" prop:bool=False, # Whether to patch `fn` onto the `self` type hint as a property.\n",
- ")->Callable: # The patched `fn`\n",
+ ")->Callable: # The patched `fn`\n",
" \"\"\"Decorator to patch an object using type hints on `fn`.\n",
"\n",
" `fn` must have either `self` or `cls` arguments present with a type hint.\n",