Show More
@@ -1450,6 +1450,8 b' class InteractiveShell(Component, Magic):' | |||
|
1450 | 1450 | |
|
1451 | 1451 | def set_completer_frame(self, frame=None): |
|
1452 | 1452 | """Set the frame of the completer.""" |
|
1453 | if not self.has_readline: | |
|
1454 | return | |
|
1453 | 1455 | if frame: |
|
1454 | 1456 | self.Completer.namespace = frame.f_locals |
|
1455 | 1457 | self.Completer.global_namespace = frame.f_globals |
@@ -1842,7 +1844,8 b' class InteractiveShell(Component, Magic):' | |||
|
1842 | 1844 | except EOFError: |
|
1843 | 1845 | if self.autoindent: |
|
1844 | 1846 | self.rl_do_indent = False |
|
1845 |
self.readline |
|
|
1847 | if self.has_readline: | |
|
1848 | self.readline_startup_hook(None) | |
|
1846 | 1849 | self.write('\n') |
|
1847 | 1850 | self.exit() |
|
1848 | 1851 | except bdb.BdbQuit: |
General Comments 0
You need to be logged in to leave comments.
Login now