mirror of https://github.com/python/cpython
Closes #26875: Merge with 3.5
This commit is contained in:
commit
a5ffa2e965
|
@ -127,7 +127,7 @@ To map anonymous memory, -1 should be passed as the fileno along with the length
|
|||
import mmap
|
||||
|
||||
with mmap.mmap(-1, 13) as mm:
|
||||
mm.write("Hello world!")
|
||||
mm.write(b"Hello world!")
|
||||
|
||||
.. versionadded:: 3.2
|
||||
Context manager support.
|
||||
|
|
Loading…
Reference in New Issue