Searched refs:IntEnum (Results 1 – 20 of 20) 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 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 …]
|
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 | 521 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.
|
D | socket.rst | 239 :class:`SocketKind` :class:`.IntEnum` collections.
|
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 6 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 …]
|
D | test_pydoc.py | 454 class BinaryInteger(enum.IntEnum):
|
D | test_time.py | 32 class _PyTime(enum.IntEnum):
|
D | test_unicode.py | 1419 class Int(enum.IntEnum):
|
/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/ |
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 | 639 class IntEnum(int, Enum): class
|
D | ssl.py | 99 from enum import Enum as _Enum, IntEnum as _IntEnum, IntFlag as _IntFlag
|
D | inspect.py | 2349 class _ParameterKind(enum.IntEnum):
|
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/ |
D | gan_estimator_impl.py | 42 class SummaryType(enum.IntEnum):
|
/external/tensorflow/tensorflow/contrib/kfac/python/ops/ |
D | fisher_blocks.py | 917 class SeriesFBApproximation(enum.IntEnum):
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.6.rst | 1415 All constants and flags have been converted to :class:`~enum.IntEnum` and
|
/external/python/cpython3/Misc/ |
D | NEWS | 1172 - Issue #28025: Convert all ssl module constants to IntEnum and IntFlags. 2048 - signal, socket, and ssl module IntEnum constant name lookups now return a
|