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

Method __setattr__

Lib/multiprocessing/managers.py:1141–1145  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

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)
1144 callmethod = object.__getattribute__(self, '_callmethod')
1145 return callmethod('__setattr__', (key, value))
1146 def __delattr__(self, key):
1147 if key[0] == '_':
1148 return object.__delattr__(self, key)

Callers

nothing calls this directly

Calls 1

__getattribute__Method · 0.45

Tested by

no test coverage detected