Skip to content

Commit 121c219

Browse files
authored
Remove redundant sys.exit(2) call in pdb CLI (python#139948)
1 parent 63e01d6 commit 121c219

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/pdb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3603,7 +3603,6 @@ def main():
36033603
invalid_args = list(itertools.takewhile(lambda a: a.startswith('-'), args))
36043604
if invalid_args:
36053605
parser.error(f"unrecognized arguments: {' '.join(invalid_args)}")
3606-
sys.exit(2)
36073606

36083607
if opts.module:
36093608
file = opts.module

0 commit comments

Comments
 (0)