(&self, py: Python, key: K)
| 316 | /// This is equivalent to the Python expression 'del self[key]'. |
| 317 | #[inline] |
| 318 | fn del_item<K>(&self, py: Python, key: K) -> PyResult<()> |
| 319 | where |
| 320 | K: ToPyObject, |
| 321 | { |
| 322 | key.with_borrowed_ptr(py, |key| unsafe { |
| 323 | err::error_on_minusone(py, ffi::PyObject_DelItem(self.as_ptr(), key)) |
| 324 | }) |
| 325 | } |
| 326 | |
| 327 | /// Takes an object and returns an iterator for it. |
| 328 | /// This is typically a new iterator but if the argument |
nothing calls this directly
no test coverage detected