Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-127833: Use productionlist nodes to implement the grammar-snippet directive#130376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Uh oh!
There was an error while loading. Please reload this page.
Merged
Changes from all commits
Commits
Show all changes
18 commits Select commit Hold shift + click to select a range
21d52e1 Extract `grammar_re` to class-level
AA-Turner e5624ed Factor out `make_production()`
AA-Turner 02210ca Update to 8.2 `make_name_target()`
AA-Turner 587c7f9 Use `productionlist` and `production` nodes
AA-Turner 7ce49bf Update topics.py
AA-Turner 93d80df Add highlighting back
encukou 8c3f133 Merge each multi-line productions into a single production node
encukou 9ad7e8f Add Blaise as co-author
blaisep cde13e2 Run ruff format
encukou a9237dd Fill in the rawsource lines
encukou c958165 Fix initial case
encukou e591450 Small tweaks
AA-Turner 6b4ec3d Extract production lines logic into `production_definitions()`
AA-Turner f5b5ff5 Dict → tuple
encukou be8f9e7 Provide more info on error
encukou 8144750 Merge in the main branch
encukou 5b39df3 Merge branch 'main' into docs/productionlist-grammar
AA-Turner 1c793eb Regenerate ``pydoc_data/topics.py``
AA-Turner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Oops, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.