Skip to content

Commit 7bf93f5

Browse files
committed
Fix handling of SystemExit arguments (fixes #995)
1 parent d58e392 commit 7bf93f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/curtsiesfrontend/coderunner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class Unfinished(RequestFromCodeRunner):
5252
class SystemExitRequest(RequestFromCodeRunner):
5353
"""Running code raised a SystemExit"""
5454

55-
def __init__(self, args):
55+
def __init__(self, *args):
5656
self.args = args
5757

5858

0 commit comments

Comments
 (0)