Issue 11713: clarify docstring for collections.deque()

This commit is contained in:
Raymond Hettinger 2011-03-29 17:30:01 -07:00
parent acb63092b7
commit d6c1d57195

View file

@ -913,7 +913,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)