Skip to content

[3.12] Improve all_equal() recipe (gh-116081) #116083

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

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Feb 28, 2024

Replace conjuction of next() calls with simpler len()/take() logic. Add key function.
(cherry picked from commit 67c19e5)

Co-authored-by: Raymond Hettinger [email protected]


📚 Documentation preview 📚: https://cpython-previews--116083.org.readthedocs.build/

Replace conjuction of next() calls with simpler len()/take() logic. Add key function.
(cherry picked from commit 67c19e5)

Co-authored-by: Raymond Hettinger <[email protected]>
@bedevere-app bedevere-app bot added the docs Documentation in the Doc dir label Feb 28, 2024
@rhettinger rhettinger merged commit a85e512 into python:3.12 Feb 28, 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 skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants