diff options
author | 2020-04-01 09:40:30 +0200 | |
---|---|---|
committer | 2020-04-01 09:53:05 +0200 | |
commit | a74debb82dba47ac843ac6b769d8d6d50f3e2f30 (patch) | |
tree | 892e5d32a19e572ced60924b672a04025e91b982 /bot/bot.py | |
parent | Deseasonify: yield ints representing days since cycle (diff) |
Deseasonify: implement __str__ for Month enum
This way, we can standardize the way Months are shown to both the user
and the developer. Note that if passing a Month member to an f-string,
the `!s` format code must be specified to ensure our __str__ is used.
Co-authored-by: MarkKoz <[email protected]>
Diffstat (limited to 'bot/bot.py')
0 files changed, 0 insertions, 0 deletions