cpython (3.5): Issue #26875: Fix mmap example
https://hg.python.org/cpython/rev/5c8e1b98dc3f changeset: 101174:5c8e1b98dc3f branch: 3.5 parent: 101172:3edf8aa1ed97 user: Zachary Ware <zachary.ware@gmail.com> date: Thu Apr 28 14:47:12 2016 -0500 summary: Issue #26875: Fix mmap example Patch by Xiang Zhang. 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
participants (1)
-
zach.ware