From 0436dcd3999b272dd9ec510ed92581096dbabf28 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sat, 23 May 2026 16:39:50 +0000 Subject: Align comment in core --- nb/core.py | 2 +- nbs/core.ipynb | 2 +- 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", -- cgit v1.2.3