(&self, d: PyDictRef)
| 940 | |
| 941 | #[inline] |
| 942 | pub fn replace(&self, d: PyDictRef) -> PyDictRef { |
| 943 | core::mem::replace(&mut self.d.write(), d) |
| 944 | } |
| 945 | |
| 946 | /// Consume the InstanceDict and return the inner PyDictRef. |
| 947 | #[inline] |
no test coverage detected