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

Class A

Lib/test/test_operator.py:372–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 def test_attrgetter(self):
371 operator = self.module
372 class A:
373 pass
374 a = A()
375 a.name = 'arthur'
376 f = operator.attrgetter('name')

Callers 4

test_attrgetterMethod · 0.70
test_methodcallerMethod · 0.70
test_attrgetterMethod · 0.70
test_methodcallerMethod · 0.70

Calls

no outgoing calls

Tested by 4

test_attrgetterMethod · 0.56
test_methodcallerMethod · 0.56
test_attrgetterMethod · 0.56
test_methodcallerMethod · 0.56