oops, leaked a pointer in a test
This commit is contained in:
parent
5568665ad6
commit
d44f080260
@ -8,7 +8,6 @@ class Foo():
|
|||||||
self._dict = {'foo': 1, 'bar': 42}
|
self._dict = {'foo': 1, 'bar': 42}
|
||||||
|
|
||||||
let f = Foo()
|
let f = Foo()
|
||||||
print(f)
|
|
||||||
print(dir(f))
|
print(dir(f))
|
||||||
print(f.foo)
|
print(f.foo)
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
<instance of Foo at 0x55e8a79995b0>
|
|
||||||
['__class__', '__str__', '__init__', '__dir__', '__repr__', '__getattr__', '_dict']
|
['__class__', '__str__', '__init__', '__dir__', '__repr__', '__getattr__', '_dict']
|
||||||
1
|
1
|
||||||
['__class__', '__str__', '__dir__', '__repr__', 'butts']
|
['__class__', '__str__', '__dir__', '__repr__', 'butts']
|
||||||
|
Loading…
Reference in New Issue
Block a user