We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I think the setdefault method is a similar method of dict, but it does not return a valid value, so it is strange.
>>> from hat_trie import Trie >>> t = Trie() >>> t.setdefault(u'a', 1) >>> d = {} >>> d.setdefault(u'a', 1) 1
The text was updated successfully, but these errors were encountered:
Yes, you're right. This could be easy to fix (see https://github.com/kmike/hat-trie/blob/master/src/hat_trie.pyx ) - pull requests are welcome!
Sorry, something went wrong.
Could you please add yourself to README.rst under "Contributors" section?
No branches or pull requests
I think the setdefault method is a similar method of dict, but it does not return a valid value, so it is strange.
The text was updated successfully, but these errors were encountered: