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

Method __set__

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

Source from the content-addressed store, hash-verified

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

no outgoing calls

Tested by

no test coverage detected