[−][src]Function rustpython_vm::obj::objsequence::get_sequence_index
pub fn get_sequence_index(
vm: &VirtualMachine,
index: &PyIntRef,
length: usize
) -> PyResult<usize>
Get the index into a sequence like type. Get it from a python integer object, accounting for negative index, and out of bounds issues.