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

Method get

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

Source from the content-addressed store, hash-verified

1144 def __init__(self, value):
1145 self.__a = value
1146 def get(self):
1147 return self.__a
1148 x = C4(5)
1149 self.assertNotHasAttr(x, '__dict__')
1150 self.assertNotHasAttr(x, '__a')

Callers 6

__new__Method · 0.45
__new__Method · 0.45
test_slotsMethod · 0.45
__getstate__Method · 0.45
__new__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected