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

Method __get__

Lib/test/test_descr.py:2261–2263  ·  view source on GitHub ↗
(self, obj, owner)

Source from the content-addressed store, hash-verified

2259 def __init__(self, impl):
2260 self.impl = impl
2261 def __get__(self, obj, owner):
2262 record.append(1)
2263 return self.impl.__get__(obj, owner)
2264 class MyException(Exception):
2265 pass
2266 class ErrDescr(object):

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
__get__Method · 0.45

Tested by

no test coverage detected