From 6a5c7c341ac654bda89b2d111aecb6d0a08fe6a2 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 31 Oct 2012 11:50:40 +0200 Subject: [PATCH] Fix docstring for deque ctor to mark iterable parameter optional --- Modules/_collectionsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 314bafd1e7d..54c1343e2a5 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.");