(&self, py: Python)
| 182 | /// This is equivalent to the Python expression 'str(self)'. |
| 183 | #[inline] |
| 184 | fn str(&self, py: Python) -> PyResult<PyString> { |
| 185 | unsafe { err::result_cast_from_owned_ptr(py, ffi::PyObject_Str(self.as_ptr())) } |
| 186 | } |
| 187 | |
| 188 | /// Compute the unicode string representation of self. |
| 189 | /// This is equivalent to the Python expression 'unistr(self)'. |
no test coverage detected