oops, leaked a pointer in a test

This commit is contained in:
K. Lange 2021-01-14 23:19:59 +09:00
parent 5568665ad6
commit d44f080260
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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']