MCPcopy Create free account
hub / github.com/RustPython/RustPython / __delete__

Method __delete__

Lib/enum.py:219–224  ·  view source on GitHub ↗
(self, instance)

Source from the content-addressed store, hash-verified

217 )
218
219 def __delete__(self, instance):
220 if self.fdel is not None:
221 return self.fdel(instance)
222 raise AttributeError(
223 "<enum %r> cannot delete attribute %r" % (self.clsname, self.name)
224 )
225
226 def __set_name__(self, ownerclass, name):
227 self.name = name

Callers

nothing calls this directly

Calls 1

fdelMethod · 0.80

Tested by

no test coverage detected