-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathno-hash.py.expected-out
21 lines (14 loc) · 1.01 KB
/
no-hash.py.expected-out
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
>>> a = 2
>>> # This cell is inserted later and would invalidate the saved b below, but
it's
... # marked as non-hashable, so it doesn't. The result illustrates one of the
... # dangers of this label. It's emphatically not the intended use of these.
... #no-hash#
...
... a = 8
... print(a)
8
>>> b = a + 5
───────────── Previous code cell not evaluated, loading b instead ──────────────
>>> print(b)
7