diff Include/object.h @ 48475:f4e7ef4329a9

Manual forward port of 64962 - use PyObject_HashNotImplemented as a tp_hash level indicator that the default hash implementation has not been inherited
author Nick Coghlan <ncoghlan@gmail.com>
date Tue, 15 Jul 2008 15:46:38 +0000
parents 6a7eb0b70198
children de0bf60f1245
line wrap: on
line diff
--- a/Include/object.h	Tue Jul 15 15:32:09 2008 +0000
+++ b/Include/object.h	Tue Jul 15 15:46:38 2008 +0000
@@ -438,6 +438,7 @@
 PyAPI_FUNC(int) PyObject_GenericSetAttr(PyObject *,
 					      PyObject *, PyObject *);
 PyAPI_FUNC(long) PyObject_Hash(PyObject *);
+PyAPI_FUNC(long) PyObject_HashNotImplemented(PyObject *);
 PyAPI_FUNC(int) PyObject_IsTrue(PyObject *);
 PyAPI_FUNC(int) PyObject_Not(PyObject *);
 PyAPI_FUNC(int) PyCallable_Check(PyObject *);