Skip to content

Commit

Permalink
style: improve docstr
Browse files Browse the repository at this point in the history
  • Loading branch information
sujuka99 committed Sep 26, 2023
1 parent 47155f1 commit 296f6e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion hooks/gen_docs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit 296f6e7

Please sign in to comment.