FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Misc improvements to the itertools docs by rhettinger · Pull Request #104916 · python/cpython · GitHub

/ cpython Public

Misc improvements to the itertools docs - #104916

Merged
rhettinger merged 3 commits into
python:mainfrom
rhettinger:itertool_doc_tweaks
May 25, 2023
Merged

Misc improvements to the itertools docs#104916
rhettinger merged 3 commits into
python:mainfrom
rhettinger:itertool_doc_tweaks

Conversation

rhettinger commented May 25, 2023
edited by github-actions Bot
Loading

Copy link
Copy Markdown
Contributor
  • Update the accumulate example to show the initial parameter, demonstrate use of repeat, and clean-up the output with round()
  • Note that lru_cache can be used with partition.
  • Add polynomial_derivative to demonstrate map with operator.mul.

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

rhettinger merged commit 278030a into python:main May 25, 2023

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 25, 2023
(cherry picked from commit 278030a)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
bedevere-bot removed the needs backport to 3.12 only security fixes label May 25, 2023
rhettinger deleted the itertool_doc_tweaks branch May 25, 2023 03:32
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.

3 participants


Back | FazBrowse Home | New Git URL