[Python-checkins] cpython (3.2): Issue 11713: clarify docstring for collections.deque()
raymond.hettinger
python-checkins at python.org
Wed Mar 30 02:38:36 CEST 2011
http://hg.python.org/cpython/rev/075637897403
changeset: 69060:075637897403
branch: 3.2
parent: 69054:968bca2cab60
user: Raymond Hettinger <python at rcn.com>
date: Tue Mar 29 17:36:31 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