SIGN IN SIGN UP

bpo-40066: Enum: modify `repr()` and `str()` (GH-22392)

* Enum: streamline repr() and str(); improve docs

- repr() is now ``enum_class.member_name``
- stdlib global enums are ``module_name.member_name``
- str() is now ``member_name``
- add HOW-TO section for ``Enum``
- change main documentation to be an API reference
E
Ethan Furman committed
b775106d940e3d77c8af7967545bb9a5b7b162df
Parent: 51a85dd
Committed by GitHub <noreply@github.com> on 3/31/2021, 4:17:26 AM