[pep-617] Fix typos (#1418)
This commit is contained in:
parent
f33bd6de86
commit
e42154d2d3
|
@ -479,7 +479,7 @@ object manipulations and some other required operations that are not directly
|
|||
related to the grammar.
|
||||
|
||||
To indicate these actions each alternative can be followed by the action code
|
||||
inside curly-braces, which specifies the return value of the alternative:::
|
||||
inside curly-braces, which specifies the return value of the alternative::
|
||||
|
||||
rule_name[return_type]:
|
||||
| first_alt1 first_alt2 { first_alt1 }
|
||||
|
@ -492,7 +492,7 @@ different possibilities:
|
|||
2. If not, a dummy name object gets returned (this case should be avoided).
|
||||
|
||||
If the action is omitted and Python code is being generated, then a list
|
||||
with all the parsed expressions get returned (this is meant for debugging).
|
||||
with all the parsed expressions gets returned (this is meant for debugging).
|
||||
|
||||
The full meta-grammar for the grammars supported by the PEG generator is:
|
||||
|
||||
|
|
Loading…
Reference in New Issue