From 51cb5eac7e07ef08687d9f5ade2fce2c64aa4661 Mon Sep 17 00:00:00 2001 From: AJ Slater Date: Fri, 23 Feb 2024 17:41:42 -0800 Subject: [PATCH] add class comment --- comicfn2dict/parse.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comicfn2dict/parse.py b/comicfn2dict/parse.py index c31ba6d..0978c0f 100644 --- a/comicfn2dict/parse.py +++ b/comicfn2dict/parse.py @@ -38,6 +38,8 @@ _DATE_KEYS = frozenset({"year", "month", "day"}) class ComicFilenameParser: + """Parse a filename metadata into a dict.""" + def path_index(self, key: str): """Lazily retrieve and memoize the key's location in the path.""" if key == "remainders":