Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __str__
Method
__str__
Lib/test/test_enum.py:313–314 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
311
#
312
class
NewStrFormatEnum(self.enum_type):
313
def
__str__(self):
314
return
self.name.title()
315
def
__format__(self, spec):
316
return
''
.join(reversed(self.name))
317
first = auto()
Callers
nothing calls this directly
Calls
1
title
Method · 0.45
Tested by
no test coverage detected