summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-10-10 00:26:46 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-10-10 00:26:46 (GMT)
commit68995867d558609a8e376be24b6c3347eb643976 (patch)
treea1cbe451961652444e193c86269f12ea7cab0201 /Doc
parent77ae87c11e52b681592e5c6147d7a1fb88b40e25 (diff)
downloadcpython-68995867d558609a8e376be24b6c3347eb643976.zip
cpython-68995867d558609a8e376be24b6c3347eb643976.tar.gz
cpython-68995867d558609a8e376be24b6c3347eb643976.tar.bz2
Accept Jim Jewett's api suggestion to use None instead of -1 to indicate unbounded deques.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index ca8a096..4e93b15 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -51,7 +51,7 @@ ordered dictionaries.
.. versionadded:: 2.4
- If *maxlen* is not specified or is *-1*, 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