commit | ce4a9da70535b4bb9048147b141f01004af2133d | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Nov 21 20:46:33 2011 +0100 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Nov 21 20:46:33 2011 +0100 |
tree | 853fa7484683a9c858f29bfab1320fb4baee5d98 | |
parent | 0a3229de6b80cfa9e432ef5a9c72548569503075 [diff] [blame] |
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
diff --git a/Include/memoryobject.h b/Include/memoryobject.h index 62ecbd6..aff5d99 100644 --- a/Include/memoryobject.h +++ b/Include/memoryobject.h
@@ -69,6 +69,7 @@ typedef struct { PyObject_HEAD Py_buffer view; + Py_hash_t hash; } PyMemoryViewObject; #endif