Commit 55498611 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1febcb14
......@@ -144,7 +144,6 @@ cdef class PyMapping:
return pywmmap.wmmap.blk_stop()
def __getbuffer__(PyMapping pywmmap, Py_buffer *view, int flags):
# XXX do we need readonly=1 here? or let it hit SIGBUS on write access?
PyBuffer_FillInfo(view, pywmmap, pywmmap.wmmap.mem_start,
pywmmap.wmmap.mem_stop - pywmmap.wmmap.mem_start, readonly=1, flags=flags)
property mem:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment