[Python-checkins] peps: Remove unnecessary duplication

eli.bendersky python-checkins at python.org
Sat Apr 13 14:44:57 CEST 2013


http://hg.python.org/peps/rev/cb3c18a080a3
changeset: 4854:cb3c18a080a3
user: Eli Bendersky <eliben at gmail.com>
date: Sat Apr 13 05:44:51 2013 -0700
summary:
 Remove unnecessary duplication
files:
 pep-0435.txt | 8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/pep-0435.txt b/pep-0435.txt
--- a/pep-0435.txt
+++ b/pep-0435.txt
@@ -116,14 +116,6 @@
 >>> print(repr(Colors.red))
 <EnumValue: Colors.red [value=1]>
 
-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
-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /