(&self, _py: Python)
| 52 | /// Gets the length of the tuple. |
| 53 | #[inline] |
| 54 | pub fn len(&self, _py: Python) -> usize { |
| 55 | unsafe { |
| 56 | // non-negative Py_ssize_t should always fit into Rust uint |
| 57 | ffi::PyTuple_GET_SIZE(self.0.as_ptr()) as usize |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /// Gets the item at the specified index. |
| 62 | /// |
no test coverage detected