From: Andrew Svetlov Date: Wed, 31 Oct 2012 09:50:00 +0000 (+0200) Subject: Fix docstring for deque ctor to mark iterable parameter optional X-Git-Tag: v2.7.5~109^2~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=227f59b29c13ce894eb8b2eab183cd4d7e07f897;p=python Fix docstring for deque ctor to mark iterable parameter optional --- diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 41ce61f1eb..242abf2afd 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -1077,7 +1077,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.");