Skip to content

Commit b775106

Browse files
authored
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
1 parent 51a85dd commit b775106

19 files changed

+2107
-1373
lines changed

Diff for: Doc/howto/enum.rst

+1,416
Large diffs are not rendered by default.

Diff for: Doc/howto/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Currently, the HOWTOs are:
1717
cporting.rst
1818
curses.rst
1919
descriptor.rst
20+
enum.rst
2021
functional.rst
2122
logging.rst
2223
logging-cookbook.rst

0 commit comments

Comments
 (0)