Skip to content

Commit a086fdf

Browse files
author
Christopher Doris
committed
fix references to moved functions
1 parent ae96cb2 commit a086fdf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pysrc/juliacall/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def convert(T, x):
3232
def 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

4040
class JuliaError(Exception):

pysrc/juliacall/ipython.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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""")

0 commit comments

Comments
 (0)