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

Method foo

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

Source from the content-addressed store, hash-verified

341 # Test subclassing
342 class C(spam.spamlist):
343 def foo(self): return 1
344 a = C()
345 self.assertEqual(a, [])
346 self.assertEqual(a.foo(), 1)

Callers 6

test_spam_listsMethod · 0.95
test_spam_dictsMethod · 0.95
test_classmethodsMethod · 0.95
test_staticmethodsMethod · 0.95
test_classicMethod · 0.95
test_methodsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected