Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotwrobson committed Jun 17, 2023
1 parent 5f06cad commit cb99eed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion automata/fa/dfa.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ def __init__(
self.reset_cache()

def reset_cache(self) -> None:
"""Resets the word and count caches. Can be called if too much memory is being used."""
"""
Resets the word and count caches.
Can be called if too much memory is being used.
"""
object.__setattr__(self, "_word_cache", [])
object.__setattr__(self, "_count_cache", [])

Expand Down

0 comments on commit cb99eed

Please sign in to comment.