summaryrefslogtreecommitdiffstats
path: root/Doc/library/mmap.rst
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-04-28 19:47:33 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-04-28 19:47:33 (GMT)
commita5ffa2e965d421784944df291fd52788cf59c5df (patch)
tree7359c1d6f6cd8b22330ace009d79fb1216e7b227 /Doc/library/mmap.rst
parent5031a678214ef6447291e5e47d344acf1318fb70 (diff)
parent42f740d85418a5b11795a87f8c86d182b021a461 (diff)
downloadcpython-a5ffa2e965d421784944df291fd52788cf59c5df.zip
cpython-a5ffa2e965d421784944df291fd52788cf59c5df.tar.gz
cpython-a5ffa2e965d421784944df291fd52788cf59c5df.tar.bz2
Closes #26875: Merge with 3.5
Diffstat (limited to 'Doc/library/mmap.rst')
-rw-r--r--Doc/library/mmap.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
index fb24728..d97ae9d 100644
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -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.