mirror of https://github.com/python/cpython
Issue 11713: clarify docstring for collections.deque()
This commit is contained in:
parent
20d2ab435e
commit
4974705a02
|
@ -1002,7 +1002,7 @@ static PyMethodDef deque_methods[] = {
|
|||
PyDoc_STRVAR(deque_doc,
|
||||
"deque(iterable[, maxlen]) --> deque object\n\
|
||||
\n\
|
||||
Build an ordered collection accessible from endpoints only.");
|
||||
Build an ordered collection with optimized access from its endpoints.");
|
||||
|
||||
static PyTypeObject deque_type = {
|
||||
PyVarObject_HEAD_INIT(NULL, 0)
|
||||
|
|
Loading…
Reference in New Issue