Skip to content

Conversation

rhettinger
Copy link
Contributor

@rhettinger rhettinger commented May 25, 2023

  • 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 rhettinger merged commit 278030a into python:main May 25, 2023
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

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 bedevere-bot removed the needs backport to 3.12 only security fixes label May 25, 2023
@rhettinger rhettinger deleted the itertool_doc_tweaks branch May 25, 2023 03:32
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