| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e7a219ff-2505-111c-92ed-1a97b8df35b1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E628:9F1EC:841CE:BA417:696A0C77 |
| html-safe-nonce | 358f7638a55c26cb434c9c9136dc588d9e14d5b3bd8f380c2bc0f3653a95c41f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjI4OjlGMUVDOjg0MUNFOkJBNDE3OjY5NkEwQzc3IiwidmlzaXRvcl9pZCI6IjgwMTE0OTQwOTc3NjQ4Nzk0NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4bdeb470e5cf3fec839f8c8898260f10cfdbdc508b19f6c221426cadab11c8d2 |
| hovercard-subject-tag | pull_request:1091096472 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/98408/files |
| og:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/98408/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F98408%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F98408%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/98408/files |
| Reload | https://github.com/python/cpython/pull/98408/files |
| Reload | https://github.com/python/cpython/pull/98408/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/98408/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/98408/files |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| rhettinger | https://github.com/rhettinger |
| python:main | https://github.com/python/cpython/tree/main |
| rhettinger:itertool_recipe_edits | https://github.com/rhettinger/cpython/tree/itertool_recipe_edits |
|
Conversation
2
| https://github.com/python/cpython/pull/98408 |
|
Commits
15
| https://github.com/python/cpython/pull/98408/commits |
|
Checks
0
| https://github.com/python/cpython/pull/98408/checks |
|
Files changed
| https://github.com/python/cpython/pull/98408/files |
| Please reload this page | https://github.com/python/cpython/pull/98408/files |
|
General improvements to the itertools docs
| https://github.com/python/cpython/pull/98408/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/98408/files |
|
9a81333
Remove distracting and wordy logostic_map example.
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/9a81333152ccc4ff6916400baad78eae43194c39 |
|
655e624
Make the groupby() code equivalent more readable
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/655e624e9c817d74256a10dc3c3c989ea1627ed4 |
|
b1a632a
Break islice() docs into smaller paragraphs
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/b1a632a36f97a7a4901831463cac2aec5d8771f8 |
|
f874f0c
Minor wording improvements for the combinatoric iterators
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/f874f0c7cfe8a65619626cbd0dfbe722c815bc9e |
|
2cd06a0
Remove redundant text covered by the example below.
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/2cd06a0c279fb1df11c50b796da511c35ce0ea59 |
|
6e655d6
Break string of sentences into two paragraphs
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/6e655d6075b7dfca66ee5c510c190f4b5b61e450 |
|
62f4ff6
Remove unnecessary words in tee() docs
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/62f4ff6cf2c80ee70e710b97acb0ba72c07c906c |
|
81e294a
Improve iter_index() recipe to handle non-sequence iterable inputs
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/81e294a5033225c75e56bdf07a4a7802da50a049 |
|
78d49a4
Describe the purpose of the recipes section
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/78d49a47a8968a66cf1242e42ac2a977f1f037ed |
|
3019dfc
Note better alternative for unique_everseen()
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/3019dfc7707cceacedd8b2181deb7df4682e3344 |
|
256bb59
Missing article
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/256bb591ba618d0b3759156dd1e30a3e12deb0e0 |
|
ac0cc45
Markup
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/ac0cc45ccfe3ca92c77eda6a8d526f6277ceb2a2 |
|
78f0586
Add imports for the new doctests
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/78f0586f04e9ef383b1ea539881e43445822fa73 |
|
1dff762
Doctest the example
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/1dff762459644bf4f92d147ed31fe5a968417bf0 |
|
5138ddd
Sphinx requires an actual unicode em dash
rhettinger Oct 18, 2022
| https://github.com/python/cpython/pull/98408/commits/5138ddd03b996033ab04c075d3fe0ab116a91ce3 |
|
Clear filters
| https://github.com/python/cpython/pull/98408/files |
| Please reload this page | https://github.com/python/cpython/pull/98408/files |
| Please reload this page | https://github.com/python/cpython/pull/98408/files |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L508 |
| Doc/library/itertools.rst | https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
View file
| https://github.com/rhettinger/cpython/blob/5138ddd03b996033ab04c075d3fe0ab116a91ce3/Doc/library/itertools.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/98408/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com/python/cpython/pull/98408/files#diff-dc4aad2e6d83f79bb1296aa5b1e1567f11ef347d522c2eb3a82645f772cd6e5e |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |