Skip to content

Commit 992c7a0

Browse files
Fix formatting in starts_with docstring examples to suppress codespell warnings
1 parent fbc5314 commit 992c7a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

data_structures/trie/trie.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Trie:
5050
True
5151
>>> trie.search("hell")
5252
False
53-
>>> trie.starts_with("hel")
53+
>>> trie.starts_with("hel") # noqa: codespell
5454
True
5555
"""
5656

@@ -252,7 +252,7 @@ def starts_with(self, prefix: str) -> bool:
252252
>>> trie = Trie()
253253
>>> trie.insert("hello")
254254
>>> trie.insert("help")
255-
>>> trie.starts_with("hel")
255+
>>> trie.starts_with("hel") # noqa: codespell
256256
True
257257
>>> trie.starts_with("hello")
258258
True

0 commit comments

Comments
 (0)