1// type aliases instead of new-types because you can't do `fn method(self: PyRc<Self>)` with a
2// newtype; requires the arbitrary_self_types unstable feature
34pub type PyRc<T> = cfg_select! {
5 feature = "threading" => alloc::sync::Arc::<T>,
6_ => alloc::rc::Rc::<T>,
7};