mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Remove redundant sys.exit(2) call in pdb CLI (#139948)
This commit is contained in:
parent
63e01d6bae
commit
121c219e30
1 changed files with 0 additions and 1 deletions
|
|
@ -3603,7 +3603,6 @@ def main():
|
||||||
invalid_args = list(itertools.takewhile(lambda a: a.startswith('-'), args))
|
invalid_args = list(itertools.takewhile(lambda a: a.startswith('-'), args))
|
||||||
if invalid_args:
|
if invalid_args:
|
||||||
parser.error(f"unrecognized arguments: {' '.join(invalid_args)}")
|
parser.error(f"unrecognized arguments: {' '.join(invalid_args)}")
|
||||||
sys.exit(2)
|
|
||||||
|
|
||||||
if opts.module:
|
if opts.module:
|
||||||
file = opts.module
|
file = opts.module
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue