Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 010a948

Browse files
committed
Issue 11713: clarify docstring for collections.deque()
2 parents 3a4ea3d + 4974705 commit 010a948

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_collectionsmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ static PyMethodDef deque_methods[] = {
10021002
PyDoc_STRVAR(deque_doc,
10031003
"deque(iterable[, maxlen]) --> deque object\n\
10041004
\n\
1005-
Build an ordered collection accessible from endpoints only.");
1005+
Build an ordered collection with optimized access from its endpoints.");
10061006

10071007
static PyTypeObject deque_type = {
10081008
PyVarObject_HEAD_INIT(NULL, 0)

0 commit comments

Comments
 (0)