(o: *mut PyObject)
| 233 | |
| 234 | #[inline] |
| 235 | pub unsafe fn PySequence_Fast_GET_SIZE(o: *mut PyObject) -> Py_ssize_t { |
| 236 | if crate::listobject::PyList_Check(o) != 0 { |
| 237 | crate::listobject::PyList_GET_SIZE(o) |
| 238 | } else { |
| 239 | crate::tupleobject::PyTuple_GET_SIZE(o) |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | #[inline] |
| 244 | pub unsafe fn PySequence_Fast_GET_ITEM(o: *mut PyObject, i: Py_ssize_t) -> *mut PyObject { |
nothing calls this directly
no test coverage detected