]> granicus.if.org Git - python/commitdiff
Silence warnings from 'make suspicious' to make the docs buildbot happy
authorBerker Peksag <berker.peksag@gmail.com>
Sat, 6 Aug 2016 10:37:22 +0000 (13:37 +0300)
committerBerker Peksag <berker.peksag@gmail.com>
Sat, 6 Aug 2016 10:37:22 +0000 (13:37 +0300)
Doc/library/enum.rst

index 54defeba1b4e07625f0d3695645f59aa8f1faf7f..bbd0b9e345b84f47feed9fba12a596443ddbbfea 100644 (file)
@@ -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).