Home
last modified time | relevance | path

Searched refs:IntEnum (Results 1 – 22 of 22) 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
547 IntEnum section in Derived Enumerations
551 :class:`int`. Members of an :class:`IntEnum` can be compared to integers;
555 >>> from enum import IntEnum
556 >>> class Shape(IntEnum):
560 >>> class Request(IntEnum):
573 >>> 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.rst537 All constants are now :class:`enum.IntEnum` or :class:`enum.IntFlag` collections.
593 :class:`enum.IntEnum` collection of CERT_* constants.
1009 :class:`enum.IntEnum` collection of ALERT_DESCRIPTION_* constants.
1033 :class:`enum.IntEnum` collection of SSL_ERROR_* constants.
1039 :class:`enum.IntEnum` collection of SSL and TLS versions for
Dsocket.rst272 :class:`SocketKind` :class:`.IntEnum` collections.
/external/python/cpython3/Lib/test/test_json/
Dtest_enum.py1 from enum import Enum, IntEnum
10 class BigNum(IntEnum):
/external/python/cpython3/Lib/test/
Dtest_enum.py7 from enum import Enum, IntEnum, EnumMeta, Flag, IntFlag, unique, auto
157 class Grades(IntEnum):
527 class IntEnum(int, Enum): class
529 class phy(IntEnum):
564 class WeekDay(IntEnum):
594 class WeekDay(IntEnum):
665 class ReplaceGlobalInt(IntEnum):
861 SummerMonth = IntEnum('SummerMonth', 'june july august')
877 SummerMonth = IntEnum('SummerMonth', 'june july august', start=40)
926 class number(IntEnum):
[all …]
Dtest_pydoc.py453 class BinaryInteger(enum.IntEnum):
Dtest_time.py30 class _PyTime(enum.IntEnum):
Dtest_unicode.py1430 class Int(enum.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.py670 class IntEnum(int, Enum): class
Dssl.py96 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
Dinspect.py2407 class _ParameterKind(enum.IntEnum):
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
Dgan_estimator_impl.py42 class SummaryType(enum.IntEnum):
Dstargan_estimator_impl.py38 class SummaryType(enum.IntEnum):
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client.py345 class PrimitiveType(enum.IntEnum):
455 class Format(enum.IntEnum):
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a2.rst387 signal, socket, and ssl module IntEnum constant name lookups now return a
D3.6.0b1.rst660 Convert all ssl module constants to IntEnum and IntFlags. SSLContext
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1467 All constants and flags have been converted to :class:`~enum.IntEnum` and