close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.

This commit is contained in:
Ethan Furman 2016-11-21 09:22:05 -08:00
parent 64a6861b0f
commit 23bb6f48ea
3 changed files with 178 additions and 177 deletions

View file

@ -69,9 +69,9 @@ except Exception as exc:
# for doctests
try:
class Fruit(Enum):
tomato = 1
banana = 2
cherry = 3
TOMATO = 1
BANANA = 2
CHERRY = 3
except Exception:
pass