Home
last modified time | relevance | path

Searched refs:_generate_next_value_ (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/
Denum.py416 value = first_enum._generate_next_value_(name, start, count, last_values[:])
620 def _generate_next_value_(name, start, count, last_values): member in Enum
699 def _generate_next_value_(name, start, count, last_values): member in Flag
/external/python/cpython3/Doc/library/
Denum.rst261 The values are chosen by :func:`_generate_next_value_`, which can be
265 ... def _generate_next_value_(name, start, count, last_values):
279 The goal of the default :meth:`_generate_next_value_` methods is to provide
285 The :meth:`_generate_next_value_` method must be defined before any members.
1098 - ``_generate_next_value_`` -- used by the `Functional API`_ and by
1102 .. versionadded:: 3.6 ``_missing_``, ``_order_``, ``_generate_next_value_``
/external/python/cpython3/Lib/test/
Dtest_enum.py1765 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_name.Color
1778 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_name_inherit.AutoNameEnum
1813 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_order.Color
1821 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_order_wierd.Color
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b1.rst654 Raise TypeError when _generate_next_value_ is defined after members. Patch