[Python-checkins] cpython (merge 3.3 -> default): Merge: fix docstring for deque ctor to mark iterable parameter optional
andrew.svetlov
python-checkins at python.org
Wed Oct 31 10:51:55 CET 2012
http://hg.python.org/cpython/rev/c6b711cbac48
changeset: 80085:c6b711cbac48
parent: 80081:2e9e2bc904d8
parent: 80084:6925c66fd775
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Wed Oct 31 11:51:39 2012 +0200
summary:
Merge: fix docstring for deque ctor to mark iterable parameter optional
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
@@ -1019,7 +1019,7 @@
};
PyDoc_STRVAR(deque_doc,
-"deque(iterable[, maxlen]) --> deque object\n\
+"deque([iterable[, maxlen]]) --> deque object\n\
\n\
Build an ordered collection with optimized access from its endpoints.");
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list