File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ def convert(T, x):
3232def interactive (enable = True ):
3333 "Allow the Julia event loop to run in the background of the Python REPL."
3434 if enable :
35- PythonCall .Internals .Compat ._set_python_input_hook ()
35+ PythonCall .Internals .Compat .GUI . _set_python_input_hook ()
3636 else :
37- PythonCall .Internals .Compat ._unset_python_input_hook ()
37+ PythonCall .Internals .Compat .GUI . _unset_python_input_hook ()
3838
3939
4040class JuliaError (Exception ):
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ def load_ipython_extension(ip):
102102 ip .events .register ("post_execute" , PythonCall ._ipython ._flush_stdio )
103103 # push displays
104104 PythonCall .seval ("""begin
105- pushdisplay(Internals.Compat.PythonDisplay())
106- pushdisplay(Internals.Compat.IPythonDisplay())
105+ pushdisplay(Internals.Compat.IPython. PythonDisplay())
106+ pushdisplay(Internals.Compat.IPython. IPythonDisplay())
107107 nothing
108108 end""" )
You can’t perform that action at this time.
0 commit comments