pytries / marisa-trie

Static memory-efficient Trie-like structures for Python based on marisa-trie C++ library.
https://marisa-trie.readthedocs.io/en/latest/
MIT License
1.04k stars 92 forks source link

Do not raise DeprecationWarning on using non-deprecated methods #43

Closed daa closed 6 years ago

daa commented 6 years ago

Currently save() and load() methods raise DeprecationWarning because they use deprecated write() and read() methods internally, this is mentioned in #36. In this patch I moved contents of latter methods to former to avoid warnings.

superbobry commented 6 years ago

Thanks!