8000 Make the iter_except() recipe more compact. by rhettinger · Pull Request #116132 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Make the iter_except() recipe more compact. #116132

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 29, 2024

Conversation

rhettinger
Copy link
Contributor
@rhettinger rhettinger commented Feb 29, 2024

Only one example is needed. The lengthy docstring was interfering with the readability of the recipes taken as a whole and distracting from the gestalt of the document. Also, this function is no longer in the incubation phase. After many years in the docs, it is not being used in practice. In addition, this seems to be only useable in contexts where the input source gets consumed.

@rhettinger rhettinger added docs Documentation in the Doc dir skip issue skip news needs backport to 3.12 only security fixes labels Feb 29, 2024
@rhettinger rhettinger merged commit a81d950 into python:main Feb 29, 2024
@miss-islington-app
Copy link

Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@rhettinger rhettinger deleted the iter_except_recipe branch February 29, 2024 17:30
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 29, 2024
Only one example is needed
(cherry picked from commit a81d950)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
@bedevere-app
Copy link
bedevere-app bot commented Feb 29, 2024

GH-116133 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 29, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 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.

1 participant
0