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 c0356a2 commit 462c5e8Copy full SHA for 462c5e8
Doc/c-api/hash.rst
@@ -53,7 +53,8 @@ See also the :c:member:`PyTypeObject.tp_hash` member.
53
54
.. c:function:: Py_hash_t Py_HashPointer(const void *ptr)
55
56
- Hash a pointer.
+ Hash a pointer value: process the pointer value as an integer (cast it to
57
+ ``uintptr_t`` internally). The pointer is not dereferenced.
58
59
The function cannot fail: it cannot return ``-1``.
60
0 commit comments