(self, str_type: PyTypeRef)
| 264 | type Interned = str; |
| 265 | #[inline] |
| 266 | fn into_pyref_exact(self, str_type: PyTypeRef) -> PyRefExact<PyStr> { |
| 267 | let obj = PyRef::new_ref(PyStr::from(self), str_type, None); |
| 268 | unsafe { PyRefExact::new_unchecked(obj) } |
| 269 | } |
| 270 | } |
| 271 | |
| 272 | impl InternableString for &str { |