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

Method __get__

Lib/concurrent/interpreters/_crossinterp.py:25–29  ·  view source on GitHub ↗
(self, obj, cls)

Source from the content-addressed store, hash-verified

23 self.name = name
24
25 def __get__(self, obj, cls):
26 if obj is not None:
27 raise AttributeError(self.name)
28 # called on the class
29 return self.getter(None, cls)
30
31
32class UnboundItem:

Callers

nothing calls this directly

Calls 1

getterMethod · 0.45

Tested by

no test coverage detected