diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-19 13:29:26 (GMT) |
commit | ecf41da83e5db98734b19f205899168cc56da943 (patch) | |
tree | e22e4354b5cc1e47d3781176a203037554eb3474 /Doc/library/mmap.rst | |
parent | 9f2e377beb4731c770f1383f2bae92fe1b8cc2e2 (diff) | |
download | cpython-ecf41da83e5db98734b19f205899168cc56da943.zip cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.gz cpython-ecf41da83e5db98734b19f205899168cc56da943.tar.bz2 |
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/mmap.rst')
-rw-r--r-- | Doc/library/mmap.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst index 8f53833..f4a6f53 100644 --- a/Doc/library/mmap.rst +++ b/Doc/library/mmap.rst @@ -204,13 +204,13 @@ To map anonymous memory, -1 should be passed as the fileno along with the length .. method:: read([n]) Return a :class:`bytes` containing up to *n* bytes starting from the - current file position. If the argument is omitted, *None* or negative, + current file position. If the argument is omitted, ``None`` or negative, return all bytes from the current file position to the end of the mapping. The file position is updated to point after the bytes that were returned. .. versionchanged:: 3.3 - Argument can be omitted or *None*. + Argument can be omitted or ``None``. .. method:: read_byte() |