]> granicus.if.org Git - python/commitdiff
Fix PyObject_Hash signature in comment (#4905)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Sat, 16 Dec 2017 19:08:05 +0000 (21:08 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Dec 2017 19:08:05 +0000 (21:08 +0200)
Include/abstract.h

index 991c1c3ee005a4717bdf097fe809d4a1315ffc8a..3133cd10535343e616201e3fddc03ec937184d13 100644 (file)
@@ -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.