From e12822e6e2c27890385f859a4b9b977c963bf7fd Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Tue, 19 May 2026 01:49:56 +0000 Subject: Remove say_hello example export in core.py --- nb/core.py | 5 ----- nbs/core.ipynb | 1 - 2 files changed, 6 deletions(-) diff --git a/nb/core.py b/nb/core.py index 0f2769e..b18b7dc 100644 --- a/nb/core.py +++ b/nb/core.py @@ -24,11 +24,6 @@ def patch_to(o: object) -> Callable: return fn return inner -# cell: 42580f8b -@patch_to(_T) -def say_hello(self: _T, name: str) -> str: - return f'Hello, {name}' - # cell: 4eb650ab def patch(fn: Callable) -> Callable: "Decorator to patch the object of the type-hinted 'self' argument of `fn` with `fn`." diff --git a/nbs/core.ipynb b/nbs/core.ipynb index 24e0330..64856fd 100644 --- a/nbs/core.ipynb +++ b/nbs/core.ipynb @@ -192,7 +192,6 @@ "metadata": {}, "outputs": [], "source": [ - "#| export\n", "@patch_to(_T)\n", "def say_hello(self: _T, name: str) -> str:\n", " return f'Hello, {name}'" -- cgit v1.2.3