| 37 | /// The type `Python<'p>` then acts like a reference `&'p PythonInterpreterState`. |
| 38 | #[derive(Copy, Clone)] |
| 39 | pub struct Python<'p>(PhantomData<&'p GILGuard>); |
| 40 | |
| 41 | /// Trait implemented by all Python object types. |
| 42 | pub trait PythonObject: crate::conversion::ToPyObject + Send + Sized + 'static { |