summaryrefslogtreecommitdiff
path: root/notebooks
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-05 23:11:32 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2021-04-05 23:11:32 +0200
commitbef106191e20b42741984c407dc4884ab1ee49eb (patch)
tree6b9add294e8c3507a98261822433ad994725f671 /notebooks
parent9ae5fa1a88899180f88ddb14d4cef457ceb847e5 (diff)
jupyter stuff
Diffstat (limited to 'notebooks')
-rw-r--r--notebooks/00-testing-stuff-out.ipynb42
1 files changed, 0 insertions, 42 deletions
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
@@ -25,48 +25,6 @@
},
{
"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,
"metadata": {
"scrolled": true