Skip to content

Commit

Permalink
Update src/PyCall.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj authored Jan 8, 2024
1 parent efdf3f8 commit 3c7a753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyCall.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3c7a753

Please sign in to comment.