[Python-checkins] Fix PyObject_Hash signature in comment (#4905)
Andrew Svetlov
webhook-mailer at python.org
Sat Dec 16 14:08:08 EST 2017
https://github.com/python/cpython/commit/950840261c349e100ec5d7381fcd742c017e242d
commit: 950840261c349e100ec5d7381fcd742c017e242d
branch: master
author: Andrew Svetlov <andrew.svetlov at gmail.com>
committer: GitHub <noreply at github.com>
date: 2017-12-16T21:08:05+02:00
summary:
Fix PyObject_Hash signature in comment (#4905)
files:
M Include/abstract.h
diff --git a/Include/abstract.h b/Include/abstract.h
index 991c1c3ee00..3133cd10535 100644
--- a/Include/abstract.h
+++ b/Include/abstract.h
@@ -367,7 +367,7 @@ PyAPI_FUNC(PyObject *) _PyObject_CallMethodIdObjArgs(
/* Implemented elsewhere:
- long PyObject_Hash(PyObject *o);
+ Py_hash_t PyObject_Hash(PyObject *o);
Compute and return the hash, hash_value, of an object, o. On
failure, return -1.
More information about the Python-checkins
mailing list