Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make formatting of enums in py3.11 consistent with earlier Python ver…
…sions (#550) Python 3.11 changes the behavior of `enum.Enum.__format__()` slightly. f-strings (and a few other string formatting methods) rely on dunder method `__format___()`. This change makes the formatting of enums as strings consistent among all supported Python versions. Fixes #447
- Loading branch information