Show More
@@ -88,12 +88,13 b' def doctest_reset_del():' | |||||
88 |
|
88 | |||
89 | In [2]: class A(object): |
|
89 | In [2]: class A(object): | |
90 | ...: def __del__(self): |
|
90 | ...: def __del__(self): | |
91 | ...: str("Hi") |
|
91 | ...: print str("Hi") | |
92 | ...: |
|
92 | ...: | |
93 |
|
93 | |||
94 | In [3]: a = A() |
|
94 | In [3]: a = A() | |
95 |
|
95 | |||
96 | In [4]: get_ipython().reset() |
|
96 | In [4]: get_ipython().reset() | |
|
97 | Hi | |||
97 |
|
98 | |||
98 | In [5]: 1+1 |
|
99 | In [5]: 1+1 | |
99 | Out[5]: 2 |
|
100 | Out[5]: 2 |
General Comments 0
You need to be logged in to leave comments.
Login now