Kaydet (Commit) b9183950 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Clarify mmap.close method behavior. Addresses issue #18815

Patch contributed by Anoop Thomas Mathew.
üst b505a6ac
......@@ -155,8 +155,9 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
.. method:: close()
Close the file. Subsequent calls to other methods of the object will
result in an exception being raised.
Closes the mmap. Subsequent calls to other methods of the object will
result in a ValueError exception being raised. This will not close
the open file.
.. attribute:: closed
......
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