Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify Trie code to avoid a mypy error
cursor is a dict, cursor.get(.., None) returns another dict or None mypy is being confused as the variable is overwritten, use another temp variable to handle the case where letter is not in the cursor dict
- Loading branch information