diff --git a/pep-0435.txt b/pep-0435.txt index 7451afec4..334ca2cbf 100644 --- a/pep-0435.txt +++ b/pep-0435.txt @@ -116,14 +116,6 @@ Enumeration values have nice, human readable string representations:: >>> print(repr(Colors.red)) -The enumeration value names are available through the class members:: - - >>> for member in Colors.__members__: - ... print(member) - red - green - blue - You can get the enumeration class object from an enumeration value:: >>> cls = Colors.red.enum