MCPcopy Index your code
hub / github.com/python/mypy / is_deletable

Method is_deletable

mypyc/ir/class_ir.py:307–308  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

305 return True
306
307 def is_deletable(self, name: str) -> bool:
308 return any(name in ir.deletable for ir in self.mro)
309
310 def is_always_defined(self, name: str) -> bool:
311 if self.is_deletable(name):

Callers 4

is_always_definedMethod · 0.95
transform_del_itemFunction · 0.80
generate_setterFunction · 0.80

Calls 1

anyFunction · 0.85

Tested by

no test coverage detected