← 返回首页
Minor improvements to the docs for itertools.tee() by rhettinger · Pull Request #119135 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Minor improvements to the docs for itertools.tee()#119135

Merged
rhettinger merged 4 commits into
python:mainfrom
rhettinger:itertools_docs
May 18, 2024
Merged

Minor improvements to the docs for itertools.tee()#119135
rhettinger merged 4 commits into
python:mainfrom
rhettinger:itertools_docs

Conversation

rhettinger commented May 18, 2024
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor
  • Rename variable from empty_link to the more descriptive `shared_link'.
  • Hoist the try/except outside of the inner loop.

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

rhettinger added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels May 18, 2024
rhettinger merged commit 81c3130 into python:main May 18, 2024

Copy link
Copy Markdown

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

rhettinger deleted the itertools_docs branch May 18, 2024 06:32
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2024
(cherry picked from commit 81c3130) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2024
(cherry picked from commit 81c3130) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>

bedevere-app Bot commented May 18, 2024

Copy link
Copy Markdown

GH-119136 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label May 18, 2024

bedevere-app Bot commented May 18, 2024

Copy link
Copy Markdown

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

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.