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

Method __getattr__

Lib/multiprocessing/managers.py:1136–1140  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

1134class NamespaceProxy(BaseProxy):
1135 _exposed_ = ('__getattribute__', '__setattr__', '__delattr__')
1136 def __getattr__(self, key):
1137 if key[0] == '_':
1138 return object.__getattribute__(self, key)
1139 callmethod = object.__getattribute__(self, '_callmethod')
1140 return callmethod('__getattribute__', (key,))
1141 def __setattr__(self, key, value):
1142 if key[0] == '_':
1143 return object.__setattr__(self, key, value)

Callers

nothing calls this directly

Calls 1

__getattribute__Method · 0.45

Tested by

no test coverage detected