#2538: bytes objects can only provide read-only buffers
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index 471d09c..eeae0ff 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -965,7 +965,7 @@
 string_buffer_getbuffer(PyBytesObject *self, Py_buffer *view, int flags)
 {
 	return PyBuffer_FillInfo(view, (void *)self->ob_sval, Py_SIZE(self),
-				 0, flags);
+				 1, flags);
 }
 
 static PySequenceMethods string_as_sequence = {