Skip to content

Commit c72625f

Browse files
authored
Expand on objectid docstring (#45987)
1 parent 0aeb0ad commit c72625f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

base/reflection.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,9 @@ end
330330
"""
331331
objectid(x) -> UInt
332332
333-
Get a hash value for `x` based on object identity. `objectid(x)==objectid(y)` if `x === y`.
333+
Get a hash value for `x` based on object identity.
334+
335+
If `x === y` then `objectid(x) == objectid(y)`, and usually when `x !== y`, `objectid(x) != objectid(y)`.
334336
335337
See also [`hash`](@ref), [`IdDict`](@ref).
336338
"""

0 commit comments

Comments
 (0)