Skip to content

Commit

Permalink
[readme] clean up code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
apalala committed Nov 14, 2023
1 parent 8e6d171 commit 6deff20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ The result is equivalent to calling:

.. code-block:: python
model = compile(grammar)
ast = model.parse(input)
parser = compile(grammar)
ast = parser.parse(input)
Compiled grammars are cached for efficiency.

Expand Down

0 comments on commit 6deff20

Please sign in to comment.