Skip to content

Commit

Permalink
add support for py --debug filename
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Oct 17, 2023
1 parent 86acd8c commit 6affffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_dbg.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def debugger(*args, **kwargs):
forked child.
'''
from ._parse import PythonStatement, PythonBlock, FileText
if len(args) == 1:
if len(args) in {1, 2}:
arg = args[0]
elif len(args) == 0:
arg = None
Expand Down

0 comments on commit 6affffb

Please sign in to comment.