Title: Misc improvements to the itertools docs by rhettinger · Pull Request #104916 · python/cpython · GitHub
Open Graph Title: Misc improvements to the itertools docs by rhettinger · Pull Request #104916 · python/cpython
X Title: Misc improvements to the itertools docs by rhettinger · Pull Request #104916 · python/cpython
Description: 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/
Open Graph Description: 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_derivativ...
X Description: 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_derivativ...
Opengraph URL: https://github.com/python/cpython/pull/104916
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ac1c6c55-a057-1c99-a312-ea281cee78ee |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BD22:1EAB80:1231C8:1835FD:6969BC62 |
| html-safe-nonce | fd0cbbd504082eba43bd64bac7537cf24179a4c5fe43c3bd503c2ffb910af307 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDIyOjFFQUI4MDoxMjMxQzg6MTgzNUZEOjY5NjlCQzYyIiwidmlzaXRvcl9pZCI6IjY3NjY3ODc4NjIxNDIyMzc3OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c0a22bbcefbd55414391e18162af97e92bc4bb6cc5d3108998fe4bed57c899cb |
| hovercard-subject-tag | pull_request:1364010277 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/104916/checks |
| twitter:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| og:image:alt | 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_derivativ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width