add class comment
This commit is contained in:
parent
7d98a8cea6
commit
51cb5eac7e
@ -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":
|
||||||
|
Loading…
Reference in New Issue
Block a user