[Python-checkins] cpython (merge 3.5 -> default): Closes #26875: Merge with 3.5

zach.ware python-checkins at python.org
Thu Apr 28 15:47:58 EDT 2016


https://hg.python.org/cpython/rev/aaf2ad84ae1c
changeset:   101175:aaf2ad84ae1c
parent:      101173:c6e285789963
parent:      101174:5c8e1b98dc3f
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Thu Apr 28 14:47:33 2016 -0500
summary:
  Closes #26875: Merge with 3.5

files:
  Doc/library/mmap.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
--- a/Doc/library/mmap.rst
+++ b/Doc/library/mmap.rst
@@ -127,7 +127,7 @@
       import mmap
 
       with mmap.mmap(-1, 13) as mm:
-          mm.write("Hello world!")
+          mm.write(b"Hello world!")
 
    .. versionadded:: 3.2
       Context manager support.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list