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.4rc1~432 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=227f59b29c13ce894eb8b2eab183cd4d7e07f897;p=thirdparty%2FPython%2Fcpython.git Fix docstring for deque ctor to mark iterable parameter optional --- diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 41ce61f1ebd7..242abf2afd02 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.");