diff --git a/src/PyCall.jl b/src/PyCall.jl index a92cce8f..a5d5738f 100644 --- a/src/PyCall.jl +++ b/src/PyCall.jl @@ -272,7 +272,7 @@ end const pysalt = hash("PyCall.PyObject") # "salt" to mix in to PyObject hashes -function hash(o::PyObject, salt::UInt=zero(UInt)) +function hash(o::PyObject, salt::UInt) salt ⊻= pysalt if ispynull(o) hash(C_NULL, salt)