Searched refs:IntEnum (Results 1 – 22 of 22) sorted by relevance
/external/python/cpython3/Lib/http/ |
D | __init__.py | 1 from enum import IntEnum 5 class HTTPStatus(IntEnum):
|
/external/python/cpython3/Doc/library/ |
D | enum.rst | 27 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 …]
|
D | http.rst | 31 A subclass of :class:`enum.IntEnum` that defines a set of HTTP status codes,
|
D | signal.rst | 70 :class:`enums <enum.IntEnum>`. 73 :class:`enums <enum.IntEnum>`.
|
D | ssl.rst | 537 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
|
D | socket.rst | 272 :class:`SocketKind` :class:`.IntEnum` collections.
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_enum.py | 1 from enum import Enum, IntEnum 10 class BigNum(IntEnum):
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 7 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 …]
|
D | test_pydoc.py | 453 class BinaryInteger(enum.IntEnum):
|
D | test_time.py | 30 class _PyTime(enum.IntEnum):
|
D | test_unicode.py | 1430 class Int(enum.IntEnum):
|
/external/python/cpython3/Lib/ |
D | socket.py | 53 from enum import IntEnum, IntFlag 73 IntEnum._convert( 78 IntEnum._convert(
|
D | signal.py | 4 from enum import IntEnum as _IntEnum
|
D | enum.py | 670 class IntEnum(int, Enum): class
|
D | ssl.py | 96 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
|
D | inspect.py | 2407 class _ParameterKind(enum.IntEnum):
|
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/ |
D | gan_estimator_impl.py | 42 class SummaryType(enum.IntEnum):
|
D | stargan_estimator_impl.py | 38 class SummaryType(enum.IntEnum):
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | xla_client.py | 345 class PrimitiveType(enum.IntEnum): 455 class Format(enum.IntEnum):
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a2.rst | 387 signal, socket, and ssl module IntEnum constant name lookups now return a
|
D | 3.6.0b1.rst | 660 Convert all ssl module constants to IntEnum and IntFlags. SSLContext
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 1467 All constants and flags have been converted to :class:`~enum.IntEnum` and
|