Issue 11713: clarify docstring for collections.deque()

This commit is contained in:
Raymond Hettinger 2011-03-29 17:36:31 -07:00
parent 20d2ab435e
commit 4974705a02
1 changed files with 1 additions and 1 deletions

View File

@ -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)