8000 Correct invocation command for testing the parser · python/devguide@481ed0b · GitHub
[go: up one dir, main page]

Skip to content

Commit 481ed0b

Browse files
committed
Correct invocation command for testing the parser
1 parent 4d6bd91 commit 481ed0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ For this reason it is a good idea to experiment first by generating a Python par
847847

848848
.. code-block:: shell
849849
850-
$ python -m pegen python ~/github/pegen/data/expr.gram
850+
$ python -m pegen python <PATH TO YOUR GRAMMAR FILE>
851851
852852
This will generate a file called :file:`parse.py` in the same directory that you can use to parse some input:
853853

0 commit comments

Comments
 (0)
0