File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -82,17 +82,17 @@ Usage
8282The application has been coded in Python, and does not require any particular
8383framework.
8484
85- To use it just import the parser:
85+ To use it just import the parser::
8686
8787 from dice_notation.parser import DiceParser
8888
89- And then use it to parse a dice notation expression:
89+ And then use it to parse a dice notation expression::
9090
9191 parser = DiceParser()
9292 dice = parser.parse('1d6+2')
9393
9494The result can be accessed just by calling the 'roll' method as many times as
95- needed, which will generate a new random value each time it is called.
95+ needed, which will generate a new random value each time it is called::
9696
9797 print(dice.roll())
9898 print(dice.roll())
Original file line number Diff line number Diff line change 22Usage
33=====
44
5- To use the parser just import it:
5+ To use the parser just import it::
66
77 from dice_notation.parser import DiceParser
88
9- And then parse a dice notation expression:
9+ And then parse a dice notation expression::
1010
1111 parser = DiceParser()
1212 dice = parser.parse('1d6+2')
1313
1414The result can be accessed just by calling the 'roll' method as many times as
15- needed, which will generate a new random value each time it is called.
15+ needed, which will generate a new random value each time it is called::
1616
1717 print(dice.roll())
1818 print(dice.roll())
19+
You can’t perform that action at this time.
0 commit comments