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.
2 parents 0a6a819 + 78951f7 commit 3863a07Copy full SHA for 3863a07
xeus_python_shell/shell.py
@@ -21,7 +21,7 @@ def __init__(self, shell=None, config=None, **traits):
21
22
23
class XPythonShell(InteractiveShell):
24
- def __init__(self, use_jedi, *args, **kwargs):
+ def __init__(self, use_jedi=False, *args, **kwargs):
25
super(XPythonShell, self).__init__(*args, **kwargs)
26
27
self.kernel = None
@@ -76,7 +76,7 @@ def complete_code(self, code, cursor_pos):
76
77
78
class XPythonShellApp(BaseIPythonApplication, InteractiveShellApp):
79
- def initialize(self, use_jedi, argv=None):
+ def initialize(self, use_jedi=False, argv=None):
80
super(XPythonShellApp, self).initialize(argv)
81
82
self.user_ns = {}
@@ -96,7 +96,7 @@ def initialize(self, use_jedi, argv=None):
96
sys.stdout.flush()
97
sys.stderr.flush()
98
99
- def init_shell(self, use_jedi):
+ def init_shell(self, use_jedi=False):
100
self.shell = XPythonShell.instance(
101
use_jedi,
102
display_pub_class=XDisplayPublisher,
0 commit comments