mirror of
https://github.com/python/cpython
synced 2024-09-05 08:17:45 +00:00
gh-111895: Convert definition list to bullet list for readability on mobile (#111898)
Convert definition list to bullet list for readability on mobile
This commit is contained in:
parent
bc12f79112
commit
7d21e3d5ee
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue