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

Method upper

Lib/test/test_enum.py:3182–3183  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3180 if k.startswith('FOO_')
3181 })
3182 def upper(self):
3183 return self.value.upper()
3184 self.assertEqual(list(Foo), [Foo.FOO_CAT, Foo.FOO_HORSE])
3185 self.assertEqual(Foo.FOO_CAT.value, 'aloof')
3186 self.assertEqual(Foo.FOO_HORSE.upper(), 'BIG')

Callers 15

responseMethod · 0.45
authenticateMethod · 0.45
enableMethod · 0.45
uidMethod · 0.45
xatomMethod · 0.45
_get_capabilitiesMethod · 0.45
encodekeyFunction · 0.45
__getattr__Function · 0.45
mainFunction · 0.45
whichFunction · 0.45
b32decodeFunction · 0.45
b32hexdecodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected