summaryrefslogtreecommitdiffstats
path: root/Objects/memoryobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r--Objects/memoryobject.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c
index 27ceb7a..9bb1697 100644
--- a/Objects/memoryobject.c
+++ b/Objects/memoryobject.c
@@ -230,9 +230,6 @@ PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char fort)
case PyBUF_WRITE:
flags = PyBUF_FULL;
break;
- case PyBUF_SHADOW:
- flags = PyBUF_FULL_XLCK;
- break;
}
if (PyObject_GetBuffer(obj, view, flags) != 0) {