mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[doc]: Spotted errors while working on rstlint. (GH-30879)
Also ignored some `make suspicious` false positives while assuring true positives were properly seen by rstlint.
This commit is contained in:
parent
b50322d203
commit
bcafab849e
9 changed files with 20 additions and 12 deletions
|
@ -23,7 +23,7 @@ selection of values. For example, the days of the week::
|
|||
... SATURDAY = 6
|
||||
... SUNDAY = 7
|
||||
|
||||
Or perhaps the RGB primary colors::
|
||||
Or perhaps the RGB primary colors::
|
||||
|
||||
>>> from enum import Enum
|
||||
>>> class Color(Enum):
|
||||
|
@ -1398,4 +1398,3 @@ Subclassing EnumType
|
|||
While most enum needs can be met by customizing :class:`Enum` subclasses,
|
||||
either with class decorators or custom functions, :class:`EnumType` can be
|
||||
subclassed to provide a different Enum experience.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue