Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_enum.py1071 class NamedInt(int): class
1103 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1104 return NamedInt(
1110 class NEI(NamedInt, Enum):
1118 globals()['NamedInt'] = NamedInt
1120 NI5 = NamedInt('test', 5)
1128 class NamedInt(int): class
1160 if isinstance(self, NamedInt) and isinstance(other, NamedInt):
1161 return NamedInt(
1167 class NEI(NamedInt, Enum):
[all …]