Fix typo: class declaration (GH-11678)

This commit is contained in:
nu_no 2019-01-27 23:07:47 +01:00 committed by Miss Islington (bot)
parent 3171df3414
commit dfc8bb987d
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ A new :class:`Enum` class must have one base Enum class, up to one concrete
data type, and as many :class:`object`-based mixin classes as needed. The
order of these base classes is::
def EnumName([mix-in, ...,] [data-type,] base-enum):
class EnumName([mix-in, ...,] [data-type,] base-enum):
pass
Also, subclassing an enumeration is allowed only if the enumeration does not define