[Python-checkins] cpython (2.7): Issue 11713: clarify docstring for collections.deque()
raymond.hettinger
python-checkins at python.org
Wed Mar 30 02:33:43 CEST 2011
http://hg.python.org/cpython/rev/f4e6e18cae4b
changeset: 69058:f4e6e18cae4b
branch: 2.7
user: Raymond Hettinger <python at rcn.com>
date: Tue Mar 29 17:28:25 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
@@ -1060,7 +1060,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