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

Method __set__

Lib/enum.py:212–217  ·  view source on GitHub ↗
(self, instance, value)

Source from the content-addressed store, hash-verified

210 ) from None
211
212 def __set__(self, instance, value):
213 if self.fset is not None:
214 return self.fset(instance, value)
215 raise AttributeError(
216 "<enum %r> cannot set attribute %r" % (self.clsname, self.name)
217 )
218
219 def __delete__(self, instance):
220 if self.fdel is not None:

Callers 6

minimum_versionMethod · 0.45
maximum_versionMethod · 0.45
optionsMethod · 0.45
_msg_callbackMethod · 0.45
verify_flagsMethod · 0.45
verify_modeMethod · 0.45

Calls 1

fsetMethod · 0.80

Tested by

no test coverage detected