We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbc5314 commit 992c7a0Copy full SHA for 992c7a0
data_structures/trie/trie.py
@@ -50,7 +50,7 @@ class Trie:
50
True
51
>>> trie.search("hell")
52
False
53
- >>> trie.starts_with("hel")
+ >>> trie.starts_with("hel") # noqa: codespell
54
55
"""
56
@@ -252,7 +252,7 @@ def starts_with(self, prefix: str) -> bool:
252
>>> trie = Trie()
253
>>> trie.insert("hello")
254
>>> trie.insert("help")
255
256
257
>>> trie.starts_with("hello")
258
0 commit comments