From bef106191e20b42741984c407dc4884ab1ee49eb Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 5 Apr 2021 23:11:32 +0200 Subject: jupyter stuff --- notebooks/00-testing-stuff-out.ipynb | 42 ------------------------------------ 1 file changed, 42 deletions(-) (limited to 'notebooks') diff --git a/notebooks/00-testing-stuff-out.ipynb b/notebooks/00-testing-stuff-out.ipynb index 81957f7..8f2e3f8 100644 --- a/notebooks/00-testing-stuff-out.ipynb +++ b/notebooks/00-testing-stuff-out.ipynb @@ -23,48 +23,6 @@ " sys.path.append('..')" ] }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [], - "source": [ - "class Hej:\n", - " a = 2\n", - " \n", - "class Hejjj:\n", - " b = 1" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": {}, - "outputs": [], - "source": [ - "l = [Hej(), Hejjj()]" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "<__main__.Hej at 0x7efefc77f370>" - ] - }, - "execution_count": 10, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "next(o for o in l if isinstance(o, Hej))" - ] - }, { "cell_type": "code", "execution_count": 1, -- cgit v1.2.3-70-g09d2