[Python-checkins] cpython (merge 3.2 -> default): Issue 11713: clarify docstring for collections.deque()

raymond.hettinger python-checkins at python.org
Wed Mar 30 02:38:38 CEST 2011


http://hg.python.org/cpython/rev/80e71592b114
changeset:   69061:80e71592b114
parent:      69055:c8701b9256cf
parent:      69060:075637897403
user:        Raymond Hettinger <python at rcn.com>
date:        Tue Mar 29 17:38:15 2011 -0700
summary:
  Issue 11713: clarify docstring for collections.deque()

files:
  Modules/_collectionsmodule.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -1002,7 +1002,7 @@
 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)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list