summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:51:39 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:51:39 (GMT)
commit4c668ed5285b8075b55b31a283e2dd80abe61fe7 (patch)
treee8f2c4cc84dfae2086f789322a96ab3a9c63e097 /Modules
parentdcff386419f603b5402757e71e1e91947b263ead (diff)
parent796c443f3db6bcc18c012924d376e0bc9aac8c29 (diff)
downloadcpython-4c668ed5285b8075b55b31a283e2dd80abe61fe7.zip
cpython-4c668ed5285b8075b55b31a283e2dd80abe61fe7.tar.gz
cpython-4c668ed5285b8075b55b31a283e2dd80abe61fe7.tar.bz2
Merge: fix docstring for deque ctor to mark iterable parameter optional
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_collectionsmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c
index d6899c2..1ff95ff 100644
--- a/Modules/_collectionsmodule.c
+++ b/Modules/_collectionsmodule.c
@@ -1019,7 +1019,7 @@ static PyMethodDef deque_methods[] = {
};
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.");