Home
last modified time | relevance | path

Searched refs:IntEnum (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython3/Lib/http/
D__init__.py1 from enum import IntEnum
5 class HTTPStatus(IntEnum):
/external/python/cpython3/Doc/library/
Denum.rst27 sets of names and values: :class:`Enum`, :class:`IntEnum`, :class:`Flag`, and
36 .. class:: IntEnum
316 members are not integers (but see `IntEnum`_ below)::
333 (again, :class:`IntEnum` was explicitly designed to behave differently, see
539 IntEnum section in Derived Enumerations
543 :class:`int`. Members of an :class:`IntEnum` can be compared to integers;
547 >>> from enum import IntEnum
548 >>> class Shape(IntEnum):
552 >>> class Request(IntEnum):
565 >>> class Shape(IntEnum):
[all …]
Dhttp.rst31 A subclass of :class:`enum.IntEnum` that defines a set of HTTP status codes,
Dsignal.rst70 :class:`enums <enum.IntEnum>`.
73 :class:`enums <enum.IntEnum>`.
Dssl.rst521 All constants are now :class:`enum.IntEnum` or :class:`enum.IntFlag` collections.
560 :class:`enum.IntEnum` collection of CERT_* constants.
889 :class:`enum.IntEnum` collection of ALERT_DESCRIPTION_* constants.
913 :class:`enum.IntEnum` collection of SSL_ERROR_* constants.
Dsocket.rst239 :class:`SocketKind` :class:`.IntEnum` collections.
/external/python/cpython3/Lib/test/
Dtest_enum.py6 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
139 class Grades(IntEnum):
501 class IntEnum(int, Enum): class
503 class phy(IntEnum):
538 class WeekDay(IntEnum):
568 class WeekDay(IntEnum):
639 class ReplaceGlobalInt(IntEnum):
835 SummerMonth = IntEnum('SummerMonth', 'june july august')
851 SummerMonth = IntEnum('SummerMonth', 'june july august', start=40)
900 class number(IntEnum):
[all …]
Dtest_pydoc.py454 class BinaryInteger(enum.IntEnum):
Dtest_time.py32 class _PyTime(enum.IntEnum):
Dtest_unicode.py1419 class Int(enum.IntEnum):
/external/python/cpython3/Lib/test/test_json/
Dtest_enum.py1 from enum import Enum, IntEnum
10 class BigNum(IntEnum):
/external/python/cpython3/Lib/
Dsocket.py53 from enum import IntEnum, IntFlag
73 IntEnum._convert(
78 IntEnum._convert(
Dsignal.py4 from enum import IntEnum as _IntEnum
Denum.py639 class IntEnum(int, Enum): class
Dssl.py99 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
Dinspect.py2349 class _ParameterKind(enum.IntEnum):
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dgan_estimator_impl.py42 class SummaryType(enum.IntEnum):
/external/tensorflow/tensorflow/contrib/kfac/python/ops/
Dfisher_blocks.py917 class SeriesFBApproximation(enum.IntEnum):
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1415 All constants and flags have been converted to :class:`~enum.IntEnum` and
/external/python/cpython3/Misc/
DNEWS1172 - Issue #28025: Convert all ssl module constants to IntEnum and IntFlags.
2048 - signal, socket, and ssl module IntEnum constant name lookups now return a