MCPcopy Index your code
hub / github.com/RustPython/RustPython / upper

Method upper

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

Source from the content-addressed store, hash-verified

3151 if k.startswith('FOO_')
3152 })
3153 def upper(self):
3154 return self.value.upper()
3155 self.assertEqual(list(Foo), [Foo.FOO_CAT, Foo.FOO_HORSE])
3156 self.assertEqual(Foo.FOO_CAT.value, 'aloof')
3157 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
_pycodecs.pyFile · 0.45
__getattr__Function · 0.45
mainFunction · 0.45
whichFunction · 0.45
_b32decodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected