8000 Tricky phrasing in the `collections.Counter` docs · Issue #109812 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Tricky phrasing in the collections.Counter docs #109812

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JacobCoffee opened this issue Sep 25, 2023 · 0 comments
Closed

Tricky phrasing in the collections.Counter docs #109812

JacobCoffee opened this issue Sep 25, 2023 · 0 comments
Labels
docs Documentation in the Doc dir

Comments

@JacobCoffee
Copy link
Member
JacobCoffee commented Sep 25, 2023

Documentation

The collections.Counter documentation states:
c.items() # convert to a list of (elem, cnt) pairs
which seems to have been correct in Python 2 but is no longer "technically" correct

Linked PRs

@JacobCoffee JacobCoffee added the docs Documentation in the Doc dir label Sep 25, 2023
JacobCoffee added a commit to JacobCoffee/cpython that referenced this issue Sep 25, 2023
@hugovk hugovk changed the title Tricky phrasing in the collections.Counter odcs Tricky phrasing in the collections.Counter docs Sep 25, 2023
JacobCoffee added a commit to JacobCoffee/cpython that referenced this issue Sep 25, 2023
JacobCoffee added a commit to JacobCoffee/cpython that referenced this issue Sep 26, 2023
JacobCoffee added a commit to JacobCoffee/cpython that referenced this issue Sep 26, 2023
- fail at squashing 7 commits for one line change

Signed-off-by: Jacob Coffee <jacob@z7x.org>
csm10495 pushed a commit to csm10495/cpython that referenced this issue Sep 29, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants
0