Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Aug 19, 2024
1 parent 87bd755 commit 451d8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tivars/tokenizer/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def decode(bytestream: bytes, *,
- ``ti_ascii``: Represents the tokens with their internal font indices (returns a ``bytes`` object)
:param bytestream: The token bytes to decode
:param tokens: The `Tokens` object to use for decoding
:param tokens: The `Tokens` object to use for decoding (defaults to the TI-84+CE tokens)
:param lang: The language used in ``string`` (defaults to English, ``en``)
:param mode: The form of token representation to use for output (defaults to ``display``)
:return: A tuple of a string of token representations and a minimum `OsVersion`
Expand Down
2 changes: 1 addition & 1 deletion tivars/tokenizer/encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def encode(string: str, *,
All tokenization modes respect token glyphs for substituting Unicode symbols.
:param string: The text string to encode
:param trie: The `TokenTrie` object to use for tokenization
:param trie: The `TokenTrie` object to use for tokenization (defaults to the TI-84+CE trie)
:param mode: The tokenization mode to use (defaults to ``smart``)
:param normalize: Whether to apply NFC normalization to the input before encoding (defaults to ``true``)
:return: A tuple of a stream of token bytes and a minimum `OsVersion`
Expand Down

0 comments on commit 451d8e3

Please sign in to comment.