MCPcopy Index your code
hub / github.com/RustPython/RustPython / __set__

Method __set__

Lib/test/test_descr.py:4767–4768  ·  view source on GitHub ↗
(self, obj, value)

Source from the content-addressed store, hash-verified

4765 self.name = name
4766
4767 def __set__(self, obj, value):
4768 obj.__dict__[self.name] = value
4769 descr = Descr("a")
4770
4771 class X(object):

Callers 3

test_propertiesMethod · 0.45
verify_dict_readonlyMethod · 0.45
test_set_docMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected