summaryrefslogtreecommitdiffstats
path: root/Include/memoryobject.h
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-11-04 20:30:33 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-11-04 20:30:33 (GMT)
commitaeb6ceead796af4746f5b2f816b23654816033b7 (patch)
tree9836b77eb1f4868f39bc499d3c6d8abe3f13bbca /Include/memoryobject.h
parent8f2e07b7d0510a008bcf63640ebe66d397e0bf52 (diff)
downloadcpython-aeb6ceead796af4746f5b2f816b23654816033b7.zip
cpython-aeb6ceead796af4746f5b2f816b23654816033b7.tar.gz
cpython-aeb6ceead796af4746f5b2f816b23654816033b7.tar.bz2
Issue #10293: Remove obsolete field in the PyMemoryView structure,
unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous.
Diffstat (limited to 'Include/memoryobject.h')
-rw-r--r--Include/memoryobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h
index bf0b621..5bbfb05 100644
--- a/Include/memoryobject.h
+++ b/Include/memoryobject.h
@@ -63,7 +63,6 @@ PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);
and functions instead! */
typedef struct {
PyObject_HEAD
- PyObject *base;
Py_buffer view;
} PyMemoryViewObject;