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 79c24fe commit edfb628Copy full SHA for edfb628
ptpython/repl.py
@@ -96,7 +96,7 @@ def compile_with_flags(code, mode):
96
97
if line.lstrip().startswith('\x1a'):
98
# When the input starts with Ctrl-Z, quit the REPL.
99
- cli.set_return_value(None)
+ cli.set_exit()
100
101
elif line.lstrip().startswith('!'):
102
# Run as shell command
0 commit comments