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

index 2391c0d38158107169a75bf4074ea4a598c92a83..5545d1eff2898b62127797dfd0e978bb1c44c81d 100644 (file)
@@ -1002,7 +1002,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)