Skip to content

Commit

Permalink
Fix ambiguity error on 0.6 (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao authored and stevengj committed Feb 23, 2017
1 parent 1feb90e commit 9966bb2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PyCall.jl
Expand Up @@ -147,6 +147,7 @@ unsafe_convert(::Type{PyPtr}, po::PyObject) = po.o

# use constructor for generic conversions to PyObject
convert(::Type{PyObject}, o) = PyObject(o)
convert(::Type{PyObject}, o::PyObject) = o
PyObject(o::PyObject) = o

#########################################################################
Expand Down

0 comments on commit 9966bb2

Please sign in to comment.