Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 462c5e8

Browse filesBrowse files
committed
Enhance the doc
1 parent c0356a2 commit 462c5e8
Copy full SHA for 462c5e8

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎Doc/c-api/hash.rst

Copy file name to clipboardExpand all lines: Doc/c-api/hash.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ See also the :c:member:`PyTypeObject.tp_hash` member.
5353
5454
.. c:function:: Py_hash_t Py_HashPointer(const void *ptr)
5555
56-
Hash a pointer.
56+
Hash a pointer value: process the pointer value as an integer (cast it to
57+
``uintptr_t`` internally). The pointer is not dereferenced.
5758
5859
The function cannot fail: it cannot return ``-1``.
5960

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.