diff --git a/Lib/pdb.py b/Lib/pdb.py index 634991383c9..11135eb4417 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py @@ -740,7 +740,7 @@ def do_list(self, arg): else: s = s + ' ' if lineno == self.curframe.f_lineno: s = s + '->' - print(s + '\t' + line, end=' ', file=self.stdout) + print(s + '\t' + line, end='', file=self.stdout) self.lineno = lineno except KeyboardInterrupt: pass