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

Method hex

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

Source from the content-addressed store, hash-verified

2585 return self.name
2586 class Color(Shade):
2587 def hex(self):
2588 return '%s hexlified!' % self.value
2589 class MoreColor(Color):
2590 cyan = 4
2591 magenta = 5

Callers 15

pipeFunction · 0.45
check_strtodMethod · 0.45
test_extending3Method · 0.45
test_memoryview_hexMethod · 0.45
verifyMethod · 0.45
test_with_fallbackMethod · 0.45
test_bug_27706Method · 0.45
test_bug_31482Method · 0.45
test_randbytes_256MMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected