(&self, py: Python, other: &PySequence)
| 47 | /// Return the concatenation of o1 and o2. Equivalent to python `o1 + o2` |
| 48 | #[inline] |
| 49 | pub fn concat(&self, py: Python, other: &PySequence) -> PyResult<PyObject> { |
| 50 | unsafe { |
| 51 | err::result_from_owned_ptr(py, ffi::PySequence_Concat(self.as_ptr(), other.as_ptr())) |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | /// Return the result of repeating sequence object o count times. |
| 56 | /// Equivalent to python `o * count` |