From 0b8c057803784b762d86f166d79f2ec34a02a593 Mon Sep 17 00:00:00 2001 From: Saksham Chawla <51916697+saksham-chawla@users.noreply.github.com> Date: Wed, 12 Oct 2022 17:03:09 +0530 Subject: [PATCH] Update aho_corasick.py --- strings/aho_corasick.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strings/aho_corasick.py b/strings/aho_corasick.py index b9a6a80728f6..fa5ff0422008 100644 --- a/strings/aho_corasick.py +++ b/strings/aho_corasick.py @@ -4,7 +4,7 @@ class Automaton: - def __init__(self, keywords: list[str]): + def __init__(self, keywords: list[str]) -> None: self.adlist: list[dict] = list() self.adlist.append( {"value": "", "next_states": [], "fail_state": 0, "output": []}