Skip to content

Commit

Permalink
Merge pull request #8 from andrewgsavage/readme
Browse files Browse the repository at this point in the history
Fix readme example
  • Loading branch information
hgrecco committed Jun 5, 2024
2 parents aa197ec + 3714654 commit 99cfb8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,10 @@ This construct allows you to group
return None
class AssigmentBlock(fp.Block[Begin, Assigment, End]):
class ParserConfig:
pass
class AssigmentBlock(fp.Block[Begin, Assigment, End, ParserConfig]):
pass
parsed = fp.parse("source.txt", (AssigmentBlock, Equality))
Expand Down

0 comments on commit 99cfb8a

Please sign in to comment.