summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:50:40 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:50:40 (GMT)
commit6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2 (patch)
tree79f1d58a0da296c42dda40e04fa74f52cc571f7e /Modules
parentc43112823b1f748822c43ad42566537580c02af2 (diff)
downloadcpython-6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2.zip
cpython-6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2.tar.gz
cpython-6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2.tar.bz2
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 314bafd..54c1343 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.");