]> granicus.if.org Git - python/commitdiff
Issue 11713: clarify docstring for collections.deque()
authorRaymond Hettinger <python@rcn.com>
Wed, 30 Mar 2011 00:28:25 +0000 (17:28 -0700)
committerRaymond Hettinger <python@rcn.com>
Wed, 30 Mar 2011 00:28:25 +0000 (17:28 -0700)
Modules/_collectionsmodule.c

index faa2577f2aae50cee280ffaac317bb412bdaa529..ea5f7795dc93bce8b6ac434655ae4de7ec1d7926 100644 (file)
@@ -1060,7 +1060,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)