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

Class NewFormatEnum

Lib/test/test_enum.py:306–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 self.NewStrEnum = NewStrEnum
305 #
306 class NewFormatEnum(self.enum_type):
307 def __format__(self, spec):
308 return self.name.upper()
309 first = auto()
310 self.NewFormatEnum = NewFormatEnum
311 #
312 class NewStrFormatEnum(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…