mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Silence warnings from 'make suspicious' to make the docs buildbot happy
This commit is contained in:
parent
fd0f84bd8f
commit
43b586b951
1 changed files with 9 additions and 7 deletions
|
|
@ -837,16 +837,18 @@ Finer Points
|
||||||
Enum class signature
|
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.
|
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).
|
a new value (they will also be removed from the class body).
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue