Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed Aug 1, 2018
1 parent 42fb28c commit d00e2af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions textparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def text(self):

@property
def offset(self):
"""Offset into the text where the tokenizer failed.
"""Offset into the text where the parser failed.
"""

Expand Down Expand Up @@ -646,8 +646,8 @@ def parse(self, tokens, token_tree=False):
def choice(*patterns):
"""Returns an instance of the fastest choice class for given patterns
`patterns`. It is recommended to use this function instead of
:class:`~textparser.Choice` and :class:`~textparser.ChoiceDict`
directly.
instantiate :class:`~textparser.Choice` or
:class:`~textparser.ChoiceDict` directly.
"""

Expand Down

0 comments on commit d00e2af

Please sign in to comment.