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

index 1227de01a4eb09299c0e1e7c4e21c0d68aa30089..b5f2a693af769a1804029ddbe8d15a6f1939626b 100644 (file)
@@ -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)