[Python-checkins] cpython: Silence warnings from 'make suspicious' to make the docs buildbot happy
berker.peksag
python-checkins at python.org
Sat Aug 6 06:36:07 EDT 2016
https://hg.python.org/cpython/rev/8c04300acdf0
changeset: 102554:8c04300acdf0
user: Berker Peksag <berker.peksag at gmail.com>
date: Sat Aug 06 13:37:22 2016 +0300
summary:
Silence warnings from 'make suspicious' to make the docs buildbot happy
files:
Doc/library/enum.rst | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -837,16 +837,18 @@
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).
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list