(zelf: PyRef<Self>, needle: PyObjectRef, vm: &VirtualMachine)
| 220 | } |
| 221 | |
| 222 | fn __getitem__(zelf: PyRef<Self>, needle: PyObjectRef, vm: &VirtualMachine) -> PyResult { |
| 223 | let new_args = subs_parameters( |
| 224 | zelf.to_owned().into(), |
| 225 | zelf.args.clone(), |
| 226 | zelf.parameters.clone(), |
| 227 | needle, |
| 228 | vm, |
| 229 | )?; |
| 230 | |
| 231 | Ok(Self::new(zelf.origin.clone(), new_args, false, vm).into_pyobject(vm)) |
| 232 | } |
| 233 | |
| 234 | #[pymethod] |
| 235 | fn __dir__(&self, vm: &VirtualMachine) -> PyResult<PyList> { |
nothing calls this directly
no test coverage detected