Show More
@@ -66,7 +66,7 b' class TerminalPdb(Pdb):' | |||||
66 | ) |
|
66 | ) | |
67 |
|
67 | |||
68 | if not PTK3: |
|
68 | if not PTK3: | |
69 | options['inputhook'] = self.inputhook |
|
69 | options['inputhook'] = self.shell.inputhook | |
70 | self.pt_app = PromptSession(**options) |
|
70 | self.pt_app = PromptSession(**options) | |
71 |
|
71 | |||
72 | def cmdloop(self, intro=None): |
|
72 | def cmdloop(self, intro=None): |
@@ -438,7 +438,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
438 | Condition(lambda: self.highlight_matching_brackets))], |
|
438 | Condition(lambda: self.highlight_matching_brackets))], | |
439 | } |
|
439 | } | |
440 | if not PTK3: |
|
440 | if not PTK3: | |
441 |
options['inputhook'] = self. |
|
441 | options['inputhook'] = self.inputhook | |
442 |
|
442 | |||
443 | return options |
|
443 | return options | |
444 |
|
444 |
General Comments 0
You need to be logged in to leave comments.
Login now