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

Method spam

Lib/test/test_descr.py:525–526  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

523 return it
524 class C(metaclass=M2):
525 def spam(self):
526 return 42
527 self.assertEqual(C.name, 'C')
528 self.assertEqual(C.bases, ())
529 self.assertIn('spam', C.dict)

Callers 3

test_metaclassMethod · 0.95
test_new_typeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected