summaryrefslogtreecommitdiffstats
path: root/Doc/library/collections.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/collections.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/collections.rst')
-rw-r--r--Doc/library/collections.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 51c235d..9f3f5dc 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -412,7 +412,7 @@ or subtracting from an empty counter.
position of the underlying data representation.
- If *maxlen* is not specified or is *None*, deques may grow to an
+ If *maxlen* is not specified or is ``None``, deques may grow to an
arbitrary length. Otherwise, the deque is bounded to the specified maximum
length. Once a bounded length deque is full, when new items are added, a
corresponding number of items are discarded from the opposite end. Bounded
@@ -520,7 +520,7 @@ or subtracting from an empty counter.
.. attribute:: maxlen
- Maximum size of a deque or *None* if unbounded.
+ Maximum size of a deque or ``None`` if unbounded.
.. versionadded:: 3.1