Skip to content

Commit 4825209

Browse files
committed
Class
1 parent 4bf81a0 commit 4825209

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -569,9 +569,9 @@ Enum
569569
```python
570570
from enum import Enum, auto
571571
class <enum_name>(Enum):
572-
<member_name_1> = <value_1>
573-
<member_name_2> = <value_2_a>, <value_2_b>
574-
<member_name_3> = auto() # Can be used for automatic indexing.
572+
member_name_1 = value_1
573+
member_name_2 = value_2_a, value_2_b
574+
member_name_3 = auto() # Can be used for automatic indexing.
575575
...
576576

577577
@classmethod

0 commit comments

Comments
 (0)