mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
Closes #26875: Merge with 3.5
This commit is contained in:
commit
a5ffa2e965
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue