Show More
@@ -4,9 +4,6 b'' | |||
|
4 | 4 | import IPython.ipapi |
|
5 | 5 | ip = IPython.ipapi.get() |
|
6 | 6 | |
|
7 | def clear_list(l): | |
|
8 | while l: | |
|
9 | l.pop() | |
|
10 | 7 | |
|
11 | 8 | def clear_f(self,arg): |
|
12 | 9 | """ Clear various data (e.g. stored history data) |
@@ -23,8 +20,8 b' def clear_f(self,arg):' | |||
|
23 | 20 | elif target == 'in': |
|
24 | 21 | print "Flushing input history" |
|
25 | 22 | from IPython import iplib |
|
26 |
|
|
|
27 |
|
|
|
23 | del self.input_hist[:] | |
|
24 | del self.input_hist_raw[:] | |
|
28 | 25 | for n in range(1,self.outputcache.prompt_count + 1): |
|
29 | 26 | key = '_i'+`n` |
|
30 | 27 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now