mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.
This commit is contained in:
parent
64a6861b0f
commit
23bb6f48ea
3 changed files with 178 additions and 177 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue