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

Class NewStrEnum

Lib/test/test_enum.py:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298 self.MainEnum = MainEnum
299 #
300 class NewStrEnum(self.enum_type):
301 def __str__(self):
302 return self.name.upper()
303 first = auto()
304 self.NewStrEnum = NewStrEnum
305 #
306 class NewFormatEnum(self.enum_type):

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…