summaryrefslogtreecommitdiffstats
path: root/Doc/library/enum.rst
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-08-06 10:37:22 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-08-06 10:37:22 (GMT)
commit43b586b951aa3232261869640d379f942d0873da (patch)
tree59236aa0df0e8a51b5da82d0c7cbcaf0f1ad8a3d /Doc/library/enum.rst
parentfd0f84bd8f1fcf280c49e5b994463fe7a8bcd102 (diff)
downloadcpython-43b586b951aa3232261869640d379f942d0873da.zip
cpython-43b586b951aa3232261869640d379f942d0873da.tar.gz
cpython-43b586b951aa3232261869640d379f942d0873da.tar.bz2
Silence warnings from 'make suspicious' to make the docs buildbot happy
Diffstat (limited to 'Doc/library/enum.rst')
-rw-r--r--Doc/library/enum.rst16
1 files changed, 9 insertions, 7 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 54defeb..bbd0b9e 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -837,16 +837,18 @@ Finer Points
Enum class signature
~~~~~~~~~~~~~~~~~~~~
- ``class SomeName(
- AnEnum,
- start=None,
- ignore='staticmethod classmethod property',
- ):``
+::
-``start`` can be used by a :meth:`_generate_next_value_` method to specify a
+ class SomeName(
+ AnEnum,
+ start=None,
+ ignore='staticmethod classmethod property',
+ ):
+
+*start* can be used by a :meth:`_generate_next_value_` method to specify a
starting value.
-``ignore`` specifies which names, if any, will not attempt to auto-generate
+*ignore* specifies which names, if any, will not attempt to auto-generate
a new value (they will also be removed from the class body).