Skip to content

Commit 0265d90

Browse files
Update error messages
Co-authored-by: Irit Katriel <[email protected]>
1 parent f9d01f9 commit 0265d90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/pdb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,8 +1609,8 @@ def do_run(self, arg):
16091609
are preserved. "restart" is an alias for "run".
16101610
"""
16111611
if self.mode == 'inline':
1612-
self.error('run/restart command is not allowed with inline breakpoints.\n'
1613-
'Use the command line interface if you want to restart your program\n'
1612+
self.error('run/restart command is disabled in inline breakpoints.\n'
1613+
'Use the command line interface to enable restarting your program\n'
16141614
'e.g. "python -m pdb myscript.py"')
16151615
return
16161616
if arg:

0 commit comments

Comments
 (0)