mirror of
https://github.com/python/cpython.git
synced 2025-11-27 21:55:35 +00:00
Issue 11713: clarify docstring for collections.deque()
This commit is contained in:
parent
b885a5bbc8
commit
db9d64b367
1 changed files with 1 additions and 1 deletions
|
|
@ -1060,7 +1060,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 accessible from endpoints only.");
|
Build an ordered collection with optimized access from its endpoints.");
|
||||||
|
|
||||||
static PyTypeObject deque_type = {
|
static PyTypeObject deque_type = {
|
||||||
PyVarObject_HEAD_INIT(NULL, 0)
|
PyVarObject_HEAD_INIT(NULL, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue