add class comment

This commit is contained in:
AJ Slater 2024-02-23 17:41:42 -08:00
parent 7d98a8cea6
commit 51cb5eac7e

View File

@ -38,6 +38,8 @@ _DATE_KEYS = frozenset({"year", "month", "day"})
class ComicFilenameParser: class ComicFilenameParser:
"""Parse a filename metadata into a dict."""
def path_index(self, key: str): def path_index(self, key: str):
"""Lazily retrieve and memoize the key's location in the path.""" """Lazily retrieve and memoize the key's location in the path."""
if key == "remainders": if key == "remainders":