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.
1 parent 1feb90e commit 9966bb2Copy full SHA for 9966bb2
src/PyCall.jl
@@ -147,6 +147,7 @@ unsafe_convert(::Type{PyPtr}, po::PyObject) = po.o
147
148
# use constructor for generic conversions to PyObject
149
convert(::Type{PyObject}, o) = PyObject(o)
150
+convert(::Type{PyObject}, o::PyObject) = o
151
PyObject(o::PyObject) = o
152
153
#########################################################################
0 commit comments