diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 19:46:33 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 19:46:33 (GMT) |
commit | ce4a9da70535b4bb9048147b141f01004af2133d (patch) | |
tree | 853fa7484683a9c858f29bfab1320fb4baee5d98 /Include/object.h | |
parent | 0a3229de6b80cfa9e432ef5a9c72548569503075 (diff) | |
download | cpython-ce4a9da70535b4bb9048147b141f01004af2133d.zip cpython-ce4a9da70535b4bb9048147b141f01004af2133d.tar.gz cpython-ce4a9da70535b4bb9048147b141f01004af2133d.tar.bz2 |
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
Diffstat (limited to 'Include/object.h')
-rw-r--r-- | Include/object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/object.h b/Include/object.h index 648c9cb..b97f716 100644 --- a/Include/object.h +++ b/Include/object.h @@ -519,6 +519,7 @@ PyAPI_FUNC(void) Py_ReprLeave(PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(Py_hash_t) _Py_HashDouble(double); PyAPI_FUNC(Py_hash_t) _Py_HashPointer(void*); +PyAPI_FUNC(Py_hash_t) _Py_HashBytes(unsigned char*, Py_ssize_t); #endif /* Helper for passing objects to printf and the like */ |