Searched refs:_generate_next_value_ (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/ |
D | enum.py | 388 value = first_enum._generate_next_value_(name, start, count, last_values[:]) 535 def _generate_next_value_(name, start, count, last_values): member in Enum 649 def _generate_next_value_(name, start, count, last_values): member in Flag
|
/external/python/cpython3/Doc/library/ |
D | enum.rst | 254 The values are chosen by :func:`_generate_next_value_`, which can be 258 ... def _generate_next_value_(name, start, count, last_values): 272 The goal of the default :meth:`_generate_next_value_` methods is to provide 999 - ``_generate_next_value_`` -- used by the `Functional API`_ and by 1003 .. versionadded:: 3.6 ``_missing_``, ``_order_``, ``_generate_next_value_``
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 1600 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_name.Color 1613 def _generate_next_value_(name, start, count, last): member in TestEnum.test_auto_name_inherit.AutoNameEnum
|