Issue 11713: clarify docstring for collections.deque()

This commit is contained in:
Raymond Hettinger 2011-03-29 17:28:25 -07:00
parent b885a5bbc8
commit db9d64b367
1 changed files with 1 additions and 1 deletions

View File

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