| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5eb7f17b-4113-b26d-b94c-a6d9d666120d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E94C:2A0D62:1B55BE2:2594B2B:696AB5EC |
| html-safe-nonce | 1bf793a8a8ed8586daad41ae7ccd47e1023be4f3ec1f8acfa7f2abbe9e058ea6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTRDOjJBMEQ2MjoxQjU1QkUyOjI1OTRCMkI6Njk2QUI1RUMiLCJ2aXNpdG9yX2lkIjoiMzU1NTQwMzY5NzgxNTcyOTY0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dbc4ca20fcecc3b47d328bd51a78b7559e21ff869eb8b75a92560d3cdea903d2 |
| hovercard-subject-tag | pull_request:2360001017 |
| 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/130588/files |
| twitter:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| og:image:alt | Add hand-written docs for non-OP tokens
Make the automation (generate_token.py) check that the hand-written docs are present, and only generate docs for the OP tokens
Switch to list-table for t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/130588/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130588%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%2F130588%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/130588/files |
| Reload | https://github.com/python/cpython/pull/130588/files |
| Reload | https://github.com/python/cpython/pull/130588/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/130588/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/130588/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 |
| encukou | https://github.com/encukou |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:token-docs | https://github.com/encukou/cpython/tree/token-docs |
|
Conversation
46
| https://github.com/python/cpython/pull/130588 |
|
Commits
15
| https://github.com/python/cpython/pull/130588/commits |
|
Checks
41
| https://github.com/python/cpython/pull/130588/checks |
|
Files changed
| https://github.com/python/cpython/pull/130588/files |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
|
gh-130587: Add hand-written docs for non-OP tokens
| https://github.com/python/cpython/pull/130588/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/130588/files |
|
7129f00
generate_tokens.py: Only generate docs for 'literal' tokens; check th…
encukou Jan 22, 2025
| https://github.com/python/cpython/pull/130588/commits/7129f00d952ace3634bc08a2931a00aa59d47815 |
|
d400ae7
Change docs for the "literal" tokens to a list-table
encukou Jan 22, 2025
| https://github.com/python/cpython/pull/130588/commits/d400ae7c62ff17bc92f190a7a083e80ef6030acf |
|
352611b
Merge in the main branch
encukou Feb 12, 2025
| https://github.com/python/cpython/pull/130588/commits/352611b437b715606f1a9203785d61cc0ff8fce9 |
|
4411c37
Document most of the tokens; improve top-level grammar docs link ENDM…
encukou Feb 12, 2025
| https://github.com/python/cpython/pull/130588/commits/4411c370437cc7c929c69f872d635687ce4e9bcd |
|
1bf5511
Write prose; reorganize the token list
encukou Feb 19, 2025
| https://github.com/python/cpython/pull/130588/commits/1bf55112465c60053faa143ae0f6fae137d46c84 |
|
e1e498b
Fixups
encukou Feb 19, 2025
| https://github.com/python/cpython/pull/130588/commits/e1e498b0b4c0810821321ceeab7cd156d68849b2 |
|
56c5d7c
Merge in the main branch
encukou Feb 19, 2025
| https://github.com/python/cpython/pull/130588/commits/56c5d7ca55d275dab87bd02d2fd4a2331136cdd6 |
|
8bbbb0f
Correct directive name
encukou Feb 19, 2025
| https://github.com/python/cpython/pull/130588/commits/8bbbb0f8e5c2f802e3d3c1cb7aac38d039c3ae01 |
|
eed407e
Don't use the Gather syntax
encukou Feb 19, 2025
| https://github.com/python/cpython/pull/130588/commits/eed407e00df75f5c8eac4072551612a619e9d81a |
|
0dd236f
Revert some changes to the toplevel_components
encukou Feb 26, 2025
| https://github.com/python/cpython/pull/130588/commits/0dd236f25a3c27a1eccd99fe31fe27257254925d |
|
90cd1e2
Merge in the main branch
encukou Feb 26, 2025
| https://github.com/python/cpython/pull/130588/commits/90cd1e2d4e059072dcbbb6ea3f6cd90999d760ee |
|
dca268e
Revert an order change
encukou Feb 26, 2025
| https://github.com/python/cpython/pull/130588/commits/dca268ed98cbc8ae1278d6dfede0efb86cbc8c5f |
|
e02ced8
Apply suggestions from code review
encukou Feb 27, 2025
| https://github.com/python/cpython/pull/130588/commits/e02ced8eadfa4edad70130c76c7597acc2723b14 |
|
02fff75
Add a note and reword OP docs
encukou Mar 5, 2025
| https://github.com/python/cpython/pull/130588/commits/02fff75da34c460c58ea0b6cba96590192bc9792 |
|
9b6eb2a
Apply suggestions from code review
encukou Mar 5, 2025
| https://github.com/python/cpython/pull/130588/commits/9b6eb2abd69d1281717390c6e8431c125ffb6b3c |
|
Clear filters
| https://github.com/python/cpython/pull/130588/files |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
|
token-list.inc
| https://github.com/python/cpython/pull/130588/files#diff-1ed1baa64fb81295770e7259a1d94c9497351df7520e00889e2a93731e86fe36 |
|
token.rst
| https://github.com/python/cpython/pull/130588/files#diff-025461bf9a1aa1b659556806a2e5ebd3e390d2db2fd27f921e6d180d7167b5f5 |
|
toplevel_components.rst
| https://github.com/python/cpython/pull/130588/files#diff-b3d37d7065cd9c5850c2de25792aff2e00e76c4cf09d356bbb40098f04fd8d87 |
|
generate_token.py
| https://github.com/python/cpython/pull/130588/files#diff-019eb03436a8f2dd2bbd1446f8e5b0c98ab2b96beff749ff2d4877e9ed2cc4e5 |
| Doc/library/token-list.inc | https://github.com/python/cpython/pull/130588/files#diff-1ed1baa64fb81295770e7259a1d94c9497351df7520e00889e2a93731e86fe36 |
|
View file
| https://github.com/encukou/cpython/blob/9b6eb2abd69d1281717390c6e8431c125ffb6b3c/Doc/library/token-list.inc |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
| Please reload this page | https://github.com/python/cpython/pull/130588/files |
|
| 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 |