diff Include/memoryobject.h @ 73669:215690b782f8

Issue #13411: memoryview objects are now hashable when the underlying object is hashable.
author Antoine Pitrou <solipsis@pitrou.net>
date Mon, 21 Nov 2011 20:46:33 +0100
parents 8a302a09ee83
children 3f9b3b6f7ff0
line wrap: on
line diff
--- a/Include/memoryobject.h	Mon Nov 21 20:39:13 2011 +0100
+++ b/Include/memoryobject.h	Mon Nov 21 20:46:33 2011 +0100
@@ -69,6 +69,7 @@
 typedef struct {
     PyObject_HEAD
     Py_buffer view;
+    Py_hash_t hash;
 } PyMemoryViewObject;
 #endif