summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2011-03-30 00:30:01 (GMT)
committerRaymond Hettinger <python@rcn.com>2011-03-30 00:30:01 (GMT)
commitd6c1d57195d907a8187442cd2f3e9d9575d6b4a8 (patch)
tree9b45f07ab9e33e3c4de7142a4ad2164a65067897
parentacb63092b7966f6329c337960729559e1c503364 (diff)
downloadcpython-d6c1d57195d907a8187442cd2f3e9d9575d6b4a8.zip
cpython-d6c1d57195d907a8187442cd2f3e9d9575d6b4a8.tar.gz
cpython-d6c1d57195d907a8187442cd2f3e9d9575d6b4a8.tar.bz2
Issue 11713: clarify docstring for collections.deque()
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index 1227de0..b5f2a69 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -913,7 +913,7 @@ static PyMethodDef deque_methods[] = {
PyDoc_STRVAR(deque_doc,
"deque(iterable[, maxlen]) --> deque object\n\
\n\
-Build an ordered collection accessible from endpoints only.");
+Build an ordered collection with optimized access from its endpoints.");
static PyTypeObject deque_type = {
PyVarObject_HEAD_INIT(NULL, 0)