diff options
author | Julien Palard <julien@palard.fr> | 2022-01-27 07:57:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-27 07:57:43 (GMT) |
commit | bcafab849e9063dd36a7fefb0162e0cf46b3c9b2 (patch) | |
tree | b7cc5385dbc1cba9808cc6b53420902f6b117697 /Doc/howto/enum.rst | |
parent | b50322d20337ca468f2070eedb051a16ee1eba94 (diff) | |
download | cpython-bcafab849e9063dd36a7fefb0162e0cf46b3c9b2.zip cpython-bcafab849e9063dd36a7fefb0162e0cf46b3c9b2.tar.gz cpython-bcafab849e9063dd36a7fefb0162e0cf46b3c9b2.tar.bz2 |
[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.
Diffstat (limited to 'Doc/howto/enum.rst')
-rw-r--r-- | Doc/howto/enum.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index fa0e228..7b1cf75 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -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. - |