(&self, _vm: &VirtualMachine)
| 2210 | impl Row { |
| 2211 | #[pymethod] |
| 2212 | fn keys(&self, _vm: &VirtualMachine) -> PyResult<Vec<PyObjectRef>> { |
| 2213 | Ok(self |
| 2214 | .description |
| 2215 | .iter() |
| 2216 | .map(|x| x.downcast_ref::<PyTuple>().unwrap().as_slice()[0].clone()) |
| 2217 | .collect()) |
| 2218 | } |
| 2219 | |
| 2220 | fn subscript(&self, needle: &PyObject, vm: &VirtualMachine) -> PyResult { |
| 2221 | if let Some(i) = needle.downcast_ref::<PyInt>() { |