diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-11-09 19:13:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 19:13:23 (GMT) |
commit | fe7631e558b87761f3115302070fb9f440ace874 (patch) | |
tree | 626f88819ae488d85325bd07ae5969276e8e1986 | |
parent | 5089faf954d2c6c07e1acfd5d270c331f7c6acdc (diff) | |
download | cpython-fe7631e558b87761f3115302070fb9f440ace874.zip cpython-fe7631e558b87761f3115302070fb9f440ace874.tar.gz cpython-fe7631e558b87761f3115302070fb9f440ace874.tar.bz2 |
[3.12] gh-111895: Convert definition list to bullet list for readability on mobile (GH-111898) (#111908)
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>
-rw-r--r-- | Doc/howto/enum.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/howto/enum.rst b/Doc/howto/enum.rst index 0830fb6..a136c76 100644 --- a/Doc/howto/enum.rst +++ b/Doc/howto/enum.rst @@ -607,9 +607,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' @@ -626,13 +626,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. |