@@ -170,7 +170,7 @@ Data Types
170
170
final *enum *, as well as creating the enum members, properly handling
171
171
duplicates, providing iteration over the enum class, etc.
172
172
173
- .. method :: EnumType.__call__(cls, value, names=None, \ *, module=None, qualname=None, type=None, start=1, boundary=None)
173
+ .. method :: EnumType.__call__(cls, value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
174
174
175
175
This method is called in two different ways:
176
176
@@ -350,7 +350,7 @@ Data Types
350
350
>>> PowersOfThree.SECOND.value
351
351
9
352
352
353
- .. method :: Enum.__init__(self, \ *args, \ **kwds)
353
+ .. method :: Enum.__init__(self, *args, **kwds)
354
354
355
355
By default, does nothing. If multiple values are given in the member
356
356
assignment, those values become separate arguments to ``__init__ ``; e.g.
@@ -361,7 +361,7 @@ Data Types
361
361
362
362
``Weekday.__init__() `` would be called as ``Weekday.__init__(self, 1, 'Mon') ``
363
363
364
- .. method :: Enum.__init_subclass__(cls, \ **kwds)
364
+ .. method :: Enum.__init_subclass__(cls, **kwds)
365
365
366
366
A *classmethod * that is used to further configure subsequent subclasses.
367
367
By default, does nothing.
@@ -388,7 +388,7 @@ Data Types
388
388
>>> Build('deBUG')
389
389
<Build.DEBUG: 'debug'>
390
390
391
- .. method :: Enum.__new__(cls, \ *args, \ **kwds)
391
+ .. method :: Enum.__new__(cls, *args, **kwds)
392
392
393
393
By default, doesn't exist. If specified, either in the enum class
394
394
definition or in a mixin class (such as ``int ``), all values given
0 commit comments