mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-28 07:21:07 +00:00
noqa to silence flake8 on Python 3 only syntax
This commit is contained in:
parent
bfd52dfa42
commit
b3873be7b5
|
@ -21,7 +21,7 @@ class TrieNode:
|
||||||
for word in words:
|
for word in words:
|
||||||
self.insert(word)
|
self.insert(word)
|
||||||
|
|
||||||
def insert(self, word: str):
|
def insert(self, word: str): # noqa: F821 This syntax is Python 3 only
|
||||||
"""
|
"""
|
||||||
Inserts a word into the Trie
|
Inserts a word into the Trie
|
||||||
:param word: word to be inserted
|
:param word: word to be inserted
|
||||||
|
|
Loading…
Reference in New Issue
Block a user