diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2026-05-19 01:49:56 +0000 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2026-05-19 01:49:56 +0000 |
| commit | e12822e6e2c27890385f859a4b9b977c963bf7fd (patch) | |
| tree | 076da13e73884942f74dbecc64df17774cf19546 | |
| parent | Initial Commit (diff) | |
| download | nb-e12822e6e2c27890385f859a4b9b977c963bf7fd.zip | |
Remove say_hello example export in core.py
| -rw-r--r-- | nb/core.py | 5 | ||||
| -rw-r--r-- | nbs/core.ipynb | 1 |
2 files changed, 0 insertions, 6 deletions
@@ -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}'" |