(&self, attr_name: impl AsPyStr<'a>, vm: &VirtualMachine)
| 271 | } |
| 272 | |
| 273 | pub fn del_attr<'a>(&self, attr_name: impl AsPyStr<'a>, vm: &VirtualMachine) -> PyResult<()> { |
| 274 | let attr_name = attr_name.as_pystr(&vm.ctx); |
| 275 | self.call_set_attr(vm, attr_name, PySetterValue::Delete) |
| 276 | } |
| 277 | |
| 278 | // Perform a comparison, raising TypeError when the requested comparison |
| 279 | // operator is not supported. |
no test coverage detected