]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-111895: Convert definition list to bullet list for readability on mobile...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Nov 2023 19:13:43 +0000 (20:13 +0100)
committerGitHub <noreply@github.com>
Thu, 9 Nov 2023 19:13:43 +0000 (21:13 +0200)
gh-111895: Convert definition list to bullet list for readability on mobile (GH-111898)

Convert definition list to bullet list for readability on mobile
(cherry picked from commit 7d21e3d5ee9858aee570aa6c5b6a6e87d776f4b5)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/howto/enum.rst

index 3deb071144633b094aa28609a14e884d3cdee80a..a533b5f1020a1b64fecd6895ba5ad22e992cb59f 100644 (file)
@@ -573,9 +573,9 @@ The complete signature is::
         start=1,
         )
 
-:value: What the new enum class will record as its name.
+* *value*: What the new enum class will record as its name.
 
-:names: The enum members.  This can be a whitespace- or comma-separated string
+* *names*: The enum members.  This can be a whitespace- or comma-separated string
   (values will start at 1 unless otherwise specified)::
 
     'RED GREEN BLUE' | 'RED,GREEN,BLUE' | 'RED, GREEN, BLUE'
@@ -592,13 +592,13 @@ The complete signature is::
 
     {'CHARTREUSE': 7, 'SEA_GREEN': 11, 'ROSEMARY': 42}
 
-:module: name of module where new enum class can be found.
+* *module*: name of module where new enum class can be found.
 
-:qualname: where in module new enum class can be found.
+* *qualname*: where in module new enum class can be found.
 
-:type: type to mix in to new enum class.
+* *type*: type to mix in to new enum class.
 
-:start: number to start counting at if only names are passed in.
+* *start*: number to start counting at if only names are passed in.
 
 .. versionchanged:: 3.5
    The *start* parameter was added.