diff --git a/hooks/gen_docs/__init__.py b/hooks/gen_docs/__init__.py index 443e7cdb2..47a18c82f 100644 --- a/hooks/gen_docs/__init__.py +++ b/hooks/gen_docs/__init__.py @@ -5,7 +5,11 @@ class IterableStrEnum(str, Enum): - """Temporary replacement for StrEnum while we suppport python3.10""" + """Polyfill that also introduces dict-like behavior + + Introduces constructors that return a ``Generator`` object + either containing all items, only their names or their values. + """ @classmethod def items(cls) -> Iterator[tuple[str, str]]: