We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bda5c2 commit 5e93247Copy full SHA for 5e93247
Lib/pdb.py
@@ -2802,7 +2802,7 @@ def default(self, line):
2802
# The remote needs to send us the whole block in one go.
2803
try:
2804
candidate = line.removeprefix("!") + "\n"
2805
- if not codeop.compile_command(candidate, "<stdin>", "single"):
+ if codeop.compile_command(candidate, "<stdin>", "single") is None:
2806
raise SyntaxError("Incomplete command")
2807
return super().default(candidate)
2808
except:
0 commit comments