(&'a self, py: Python)
| 254 | /// This is a wrapper function around `FromPyObject::from_py_object()`. |
| 255 | #[inline] |
| 256 | pub fn extract<'a, T>(&'a self, py: Python) -> PyResult<T> |
| 257 | where |
| 258 | T: crate::conversion::FromPyObject<'a>, |
| 259 | { |
| 260 | crate::conversion::FromPyObject::extract(py, self) |
| 261 | } |
| 262 | |
| 263 | /// True if this is None in Python. |
| 264 | #[inline] |