Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Prout committed Jun 17, 2024
1 parent 3718b14 commit d9624cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Statically typed templates::
'Hello, world!'
>>> template = yatla.parse("{{ factor }} * 2 = {{ factor * 2 }}")
>>> template.slots
[Slot(name='name', type=<SlotType.Any: 3>)]
[Slot(name='factor', type=<SlotType.Num: 2>)]
>>> template.fill({"factor": 3})
'3 * 2 = 6'

Expand Down

0 comments on commit d9624cf

Please sign in to comment.