(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine)
| 194 | |
| 195 | #[pyfunction] |
| 196 | fn getitem(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 197 | a.get_item(&*b, vm) |
| 198 | } |
| 199 | |
| 200 | #[pyfunction(name = "indexOf")] |
| 201 | fn index_of(a: PyIter, b: PyObjectRef, vm: &VirtualMachine) -> PyResult<usize> { |