Skip to content

Commit b373c99

Browse files
authored
[mypy] fix: fix mypy error in trie.py(#5516)
1 parent 9153db2 commit b373c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data_structures/trie/trie.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __init__(self):
1111
self.nodes = dict() # Mapping from char to TrieNode
1212
self.is_leaf = False
1313

14-
def insert_many(self, words: [str]):
14+
def insert_many(self, words: list[str]):
1515
"""
1616
Inserts a list of words into the Trie
1717
:param words: list of string words

0 commit comments

Comments
 (0)