mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Fix docstring for deque ctor to mark iterable parameter optional
This commit is contained in:
parent
c43112823b
commit
6a5c7c341a
1 changed files with 1 additions and 1 deletions
|
|
@ -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.");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue