You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 289B

1234567891011121314
  1. from __future__ import absolute_import, division, unicode_literals
  2. from .py import Trie as PyTrie
  3. Trie = PyTrie
  4. # pylint:disable=wrong-import-position
  5. try:
  6. from .datrie import Trie as DATrie
  7. except ImportError:
  8. pass
  9. else:
  10. Trie = DATrie
  11. # pylint:enable=wrong-import-position