8000 gh-111895: Convert definition list to bullet list for readability on mobile by hugovk · Pull Request #111898 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111895: Convert definition list to bullet list for readability on mobile #111898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
12 changes: 6 additions & 6 deletions Doc/howto/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.
Expand Down
0