Skip to content
New issue

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

Single character prefixes returning null prefix matches #55

Open
dkoslicki opened this issue Mar 20, 2020 · 0 comments
Open

Single character prefixes returning null prefix matches #55

dkoslicki opened this issue Mar 20, 2020 · 0 comments
Labels

Comments

@dkoslicki
Copy link

For example, I have a trie with:

>>>list(tree.iterkeys("GC"))
['GCGx0x0']

and yet:

>>>list(tree.iterkeys("G"))
[]

G is certainly a prefix of GCGx0x0, so shouldn't it return the same results in both cases?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants