MCPcopy Index your code
hub / github.com/python/cpython / OtherEnum

Class OtherEnum

Lib/test/test_enum.py:521–523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519 self.assertNotIn(float('nan'), MainEnum)
520 #
521 class OtherEnum(Enum):
522 one = auto()
523 two = auto()
524 self.assertNotIn(OtherEnum.two, MainEnum)
525 #
526 if MainEnum._member_type_ is object:

Callers

nothing calls this directly

Calls 1

autoClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…