Skip to content

Commit 2f70179

Browse files
Exclude in gettext
1 parent add8289 commit 2f70179

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Doc/reference/grammar.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ required *not* to match). We use the ``|`` separator to mean PEG's
1818
"ordered choice" (written as ``/`` in traditional PEG grammars). See
1919
:pep:`617` for more details on the grammar's syntax.
2020

21-
.. literalinclude:: ../../Grammar/python.gram
22-
:language: peg
21+
.. only:: html or pdf or epub
22+
23+
.. literalinclude:: ../../Grammar/python.gram
24+
:language: peg

0 commit comments

Comments
 (0)