Skip to content

Conversation

@jneb
Copy link
Contributor

@jneb jneb commented Dec 5, 2023

The recipe for "grouper" has a minor bug where the "incomplete" argument wasn't checked properly
This can be trivially fixed by changing just two lines, replacing "if" by "elif".


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

The recipe for "grouper" has a minor bug where the "incomplete" argument wasn't checked properly
@jneb jneb requested a review from rhettinger as a code owner December 5, 2023 15:19
@bedevere-app bedevere-app bot added docs Documentation in the Doc dir skip news awaiting review labels Dec 5, 2023
@jneb
Copy link
Contributor Author

jneb commented Dec 5, 2023

I realized after some pondering, the code works as stated, but it is unbalanced in the sense that there are three "if"s, where only the last one has an "else".
So from a functionality point of view, nothing needs to be changed.

@rhettinger rhettinger merged commit c2e2df8 into python:main Dec 5, 2023
@rhettinger rhettinger added the needs backport to 3.12 only security fixes label Dec 15, 2023
@miss-islington-app
Copy link

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

@rhettinger rhettinger added needs backport to 3.12 only security fixes and removed needs backport to 3.12 only security fixes labels Dec 15, 2023
@miss-islington-app
Copy link

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

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.

3 participants