MCPcopy Create free account
hub / github.com/ActiveState/code / set

Function set

recipes/Python/577539_Convert_PyQt_properties/recipe-577539.py:18–19  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

16 return get
17 def setter(name):
18 def set(self, value):
19 return self.setProperty(name, value)
20 return set
21 for name in iterProperties(cls):
22 setattr(cls, name, property(getter(name), setter(name)))

Callers 15

change_reportFunction · 0.50
recipe-520593.pyFile · 0.50
add_vertexMethod · 0.50
generic_searchFunction · 0.50
obtain_privilegesFunction · 0.50
hit_testMethod · 0.50
toposortFunction · 0.50
graph_equalFunction · 0.50
__init__Method · 0.50
createSequencesMethod · 0.50

Calls 1

setPropertyMethod · 0.45

Tested by 6

test_keyMethod · 0.40
test_elementsMethod · 0.40
test_plain_containersMethod · 0.40
test_eq_hashMethod · 0.40
test_keyMethod · 0.40
test_rowcolFunction · 0.40