diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 20:46:33 +0100 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-11-21 20:46:33 +0100 |
commit | 3760c4be4574f55fa15ce01443d780263f2d00e9 (patch) | |
tree | e6799351d33a83e3833f55a2447f13b9e12eb3da /Include/memoryobject.h | |
parent | 0bad257ac04c88801968d544ebf0a56cb6af140b (diff) | |
download | cpython-3760c4be4574f55fa15ce01443d780263f2d00e9.tar.gz |
Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
Diffstat (limited to 'Include/memoryobject.h')
-rw-r--r-- | Include/memoryobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h index 62ecbd6449..aff5d997f2 100644 --- a/Include/memoryobject.h +++ b/Include/memoryobject.h @@ -69,6 +69,7 @@ PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info); typedef struct { PyObject_HEAD Py_buffer view; + Py_hash_t hash; } PyMemoryViewObject; #endif |