X Tutup
Skip to content

Commit b4bef26

Browse files
fix #260 - default exit arg should be an empty tuple
1 parent 258808a commit b4bef26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,7 +1877,7 @@ def main_curses(scr, args, config, interactive=True, locals_=None,
18771877
sys.stderr = FakeStream(clirepl)
18781878

18791879
if args:
1880-
exit_value = 0
1880+
exit_value = ()
18811881
try:
18821882
bpython.args.exec_code(interpreter, args)
18831883
except SystemExit, e:

0 commit comments

Comments
 (0)
X Tutup