@@ -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
@@ -340,7 +340,7 @@ Data Types
340
340
>>> PowersOfThree.SECOND.value
341
341
9
342
342
343
- .. method :: Enum.__init__(self, \ *args, \ **kwds)
343
+ .. method :: Enum.__init__(self, *args, **kwds)
344
344
345
345
By default, does nothing. If multiple values are given in the member
346
346
assignment, those values become separate arguments to ``__init__ ``; e.g.
@@ -351,7 +351,7 @@ Data Types
351
351
352
352
``Weekday.__init__() `` would be called as ``Weekday.__init__(self, 1, 'Mon') ``
353
353
354
- .. method :: Enum.__init_subclass__(cls, \ **kwds)
354
+ .. method :: Enum.__init_subclass__(cls, **kwds)
355
355
356
356
A *classmethod * that is used to further configure subsequent subclasses.
357
357
By default, does nothing.
@@ -378,7 +378,7 @@ Data Types
378
378
>>> Build('deBUG')
379
379
<Build.DEBUG: 'debug'>
380
380
381
- .. method :: Enum.__new__(cls, \ *args, \ **kwds)
381
+ .. method :: Enum.__new__(cls, *args, **kwds)
382
382
383
383
By default, doesn't exist. If specified, either in the enum class
384
384
definition or in a mixin class (such as ``int ``), all values given
0 commit comments