mirror of https://github.com/python/cpython
bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532)
Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
This commit is contained in:
parent
7f82f22eba
commit
bcc9579227
|
@ -13,7 +13,8 @@ In particular, ``&`` followed by a symbol, token or parenthesized
|
||||||
group indicates a positive lookahead (i.e., is required to match but
|
group indicates a positive lookahead (i.e., is required to match but
|
||||||
not consumed), while ``!`` indicates a negative lookahead (i.e., is
|
not consumed), while ``!`` indicates a negative lookahead (i.e., is
|
||||||
required _not_ to match). We use the ``|`` separator to mean PEG's
|
required _not_ to match). We use the ``|`` separator to mean PEG's
|
||||||
"ordered choice" (written as ``/`` in traditional PEG grammars).
|
"ordered choice" (written as ``/`` in traditional PEG grammars). See
|
||||||
|
:pep:`617` for more details on the grammar's syntax.
|
||||||
|
|
||||||
.. literalinclude:: ../../Grammar/python.gram
|
.. literalinclude:: ../../Grammar/python.gram
|
||||||
:language: peg
|
:language: peg
|
||||||
|
|
Loading…
Reference in New Issue