Skip to content

Commit 25b63e3

Browse files
committed
Remove Core reference, fixes #657
1 parent 57d143f commit 25b63e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compat/pycall.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function init_pycall(PyCall::Module)
1010
- Set the environment variable `PYTHON` to `PythonCall.C.CTX.exe_path` and rebuild PyCall. This forces PyCall
1111
to use the same interpreter as PythonCall, but needs to be repeated whenever you switch Julia environment.
1212
"""
13-
@eval function Core.Py(x::$PyCall.PyObject)
13+
@eval function Py(x::$PyCall.PyObject)
1414
C.CTX.matches_pycall::Bool || error($errmsg)
1515
return pynew(C.PyPtr($PyCall.pyreturn(x)))
1616
end

0 commit comments

Comments
 (0)