This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Few improvements to the collections documentation
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: docs@python, python-dev, rhettinger, vaultah
Priority: normal Keywords: patch

Created on 2015-05-23 11:23 by vaultah, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
collections_doc.diff vaultah, 2015-05-23 11:23 review
Messages (3)
msg243909 - (view) Author: Dmitry Kazakov (vaultah) * Date: 2015-05-23 11:23
collections.Counter: Formatted the code in the "See also" section.

collections.deque.remove: "Removed the first occurrence of value." -> "Remove ..."

collections.deque.index (a followup from issue23704):
    
Changed [, end] to [, stop] in the signature, because the implementation and the docstring of deque.index use 'stop'. Also, adapted the brief explanation from the Common Sequence Operations table.

https://docs.python.org/3/library/stdtypes.html#common-sequence-operations
msg243925 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2015-05-23 15:57
Thanks for the patch.  I've applied all of it except for the expansion of code in the multiset example where I've keep the style of the itertools recipes.
msg243926 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2015-05-23 15:58
New changeset 4d92ce08de6a by Raymond Hettinger in branch 'default':
Issue #24269: Minor doc fixups.
https://hg.python.org/cpython/rev/4d92ce08de6a
History
Date User Action Args
2022-04-11 14:58:17adminsetgithub: 68457
2015-05-23 15:58:50rhettingersetstatus: open -> closed
resolution: fixed
stage: resolved
2015-05-23 15:58:12python-devsetnosy: + python-dev
messages: + msg243926
2015-05-23 15:57:46rhettingersetmessages: + msg243925
2015-05-23 15:37:46rhettingersetassignee: docs@python -> rhettinger

nosy: + rhettinger
2015-05-23 11:23:23vaultahcreate