mirror of https://github.com/python/cpython
Fix docstring for deque ctor to mark iterable parameter optional
This commit is contained in:
parent
6da3ed63d8
commit
227f59b29c
|
@ -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.");
|
||||
|
||||
|
|
Loading…
Reference in New Issue