##// END OF EJS Templates
ipdb: fix formatting in terminal.debugger
Blazej Michalik -
Show More
@@ -28,22 +28,21 b' class TerminalPdb(Pdb):'
28 28 def pt_init(self, pt_session_options=None):
29 29 """Initialize the prompt session and the prompt loop
30 30 and store them in self.pt_app and self.pt_loop.
31
31
32 32 Additional keyword arguments for the PromptSession class
33 33 can be specified in pt_session_options.
34 34 """
35 35 if pt_session_options is None:
36 36 pt_session_options = {}
37
37
38 38 def get_prompt_tokens():
39 39 return [(Token.Prompt, self.prompt)]
40 40
41 41 if self._ptcomp is None:
42 42 compl = IPCompleter(shell=self.shell,
43 namespace={},
44 global_namespace={},
45 parent=self.shell,
46 )
43 namespace={},
44 global_namespace={},
45 parent=self.shell)
47 46 # add a completer for all the do_ methods
48 47 methods_names = [m[3:] for m in dir(self) if m.startswith("do_")]
49 48
General Comments 0
You need to be logged in to leave comments. Login now