Issue 11713: clarify docstring for collections.deque()
This commit is contained in:
commit
010a948489
@ -1002,7 +1002,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…
x
Reference in New Issue
Block a user