mirror of https://github.com/python/cpython
Merge: fix docstring for deque ctor to mark iterable parameter optional
This commit is contained in:
commit
4c668ed528
|
@ -1019,7 +1019,7 @@ static PyMethodDef deque_methods[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
PyDoc_STRVAR(deque_doc,
|
PyDoc_STRVAR(deque_doc,
|
||||||
"deque(iterable[, maxlen]) --> deque object\n\
|
"deque([iterable[, maxlen]]) --> deque object\n\
|
||||||
\n\
|
\n\
|
||||||
Build an ordered collection with optimized access from its endpoints.");
|
Build an ordered collection with optimized access from its endpoints.");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue