parent
7f227d9087
commit
42f740d854
|
@ -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