Issue 11713: collections.deque docstring wrong/misleading (original) (raw)

Issue11713

Created on 2011-03-29 19:56 by davide.rizzo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg132513 - (view) Author: Davide Rizzo (davide.rizzo) * Date: 2011-03-29 19:56
collections.deque docstring is: 'deque(iterable[, maxlen]) --> deque object\n\nBuild an ordered collection accessible from endpoints only.' As it reads now, it seems to imply that only endpoints can be read/modified. The rst correctly states that random access is possible (though slow). __ap__ suggestion is "Build an ordered collection with optimized access from its endpoints".
msg132561 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-30 00:33
New changeset f4e6e18cae4b by Raymond Hettinger in branch '2.7': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/f4e6e18cae4b New changeset 36344c9505b2 by Raymond Hettinger in branch '3.1': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/36344c9505b2
msg132562 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-03-30 00:38
New changeset 075637897403 by Raymond Hettinger in branch '3.2': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/075637897403 New changeset 80e71592b114 by Raymond Hettinger in branch 'default': Issue 11713: clarify docstring for collections.deque() http://hg.python.org/cpython/rev/80e71592b114
History
Date User Action Args
2022-04-11 14:57:15 admin set github: 55922
2011-03-30 00:39:13 rhettinger set status: open -> closedresolution: fixed
2011-03-30 00:38:37 python-dev set messages: +
2011-03-30 00:33:44 python-dev set nosy: + python-devmessages: +
2011-03-29 20:36:53 rhettinger set priority: normal -> lowassignee: rhettinger
2011-03-29 19:57:43 ezio.melotti set nosy: + ezio.melotti
2011-03-29 19:56:46 davide.rizzo create