-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Small improvements to the itertools docs #123885
Conversation
Thanks @rhettinger for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13. |
Sorry, @rhettinger, I could not cleanly backport this to
|
Sorry, @rhettinger, I could not cleanly backport this to
|
|
|
@rhettinger Notifying you to remind you that the backports failed (my cherry-picker is dissident so I can't do it easily so someone else needs to do it). |
GH-125075 is a backport of this pull request to the 3.13 branch. |
islice()
leaves the input iterator.tee()
calls are flattened.islice()
andproduct()
rough equivalents to show the error checking for negative inputs. This is needed because the rough equivalents use sequence multiplication which treats negative inputs the same as zero.📚 Documentation preview 📚: https://cpython-previews--123885.org.readthedocs.build/