summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:51:13 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 09:51:13 (GMT)
commit796c443f3db6bcc18c012924d376e0bc9aac8c29 (patch)
tree16ce9624f5548ef7e442a0fb116a2db8bd05e47f /Modules
parent7ea6f706ac38c52b822495ddeff67f24f3109d8d (diff)
parent6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2 (diff)
downloadcpython-796c443f3db6bcc18c012924d376e0bc9aac8c29.zip
cpython-796c443f3db6bcc18c012924d376e0bc9aac8c29.tar.gz
cpython-796c443f3db6bcc18c012924d376e0bc9aac8c29.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.");