[docs] [issue35118] Add peek() or first() method in queue
Raymond Hettinger
report at bugs.python.org
Wed Oct 31 01:38:13 EDT 2018
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
In the absence of good use cases, I'll decline the API expansion.
Feel free to post a PR to have the deque documentation to mention d[0] indexing more prominently. Am not really sure that is needed though, we don't have to point out the same thing for lists and I haven't encountered any misunderstandings on the topic. This would be just a minor usage note.
----------
priority: normal -> low
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35118>
_______________________________________
More information about the docs
mailing list