summaryrefslogtreecommitdiffstats
path: root/Doc/library/mmap.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:37:13 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-10-19 13:37:13 (GMT)
commit989db5c880cbe85e49857cf44daf8b6c9ccbe0b6 (patch)
tree2e6fb67dca920efd5e8bdae70706badcc3472e43 /Doc/library/mmap.rst
parent24c3b4928eb3046a02b55ab4317cee28aa1c56ba (diff)
parentecf41da83e5db98734b19f205899168cc56da943 (diff)
downloadcpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.zip
cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.gz
cpython-989db5c880cbe85e49857cf44daf8b6c9ccbe0b6.tar.bz2
Issue #19795: Mark up None as literal text.
Diffstat (limited to 'Doc/library/mmap.rst')
-rw-r--r--Doc/library/mmap.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/mmap.rst b/Doc/library/mmap.rst
index c544c80..6e6e290 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()