(
candidates: Vec<PyObjectRef>,
name: PyObjectRef,
vm: &VirtualMachine,
)
| 8 | |
| 9 | #[pyfunction] |
| 10 | fn _generate_suggestions( |
| 11 | candidates: Vec<PyObjectRef>, |
| 12 | name: PyObjectRef, |
| 13 | vm: &VirtualMachine, |
| 14 | ) -> PyObjectRef { |
| 15 | match crate::vm::suggestion::calculate_suggestions(candidates.iter(), &name) { |
| 16 | Some(suggestion) => suggestion.into(), |
| 17 | None => vm.ctx.none(), |
| 18 | } |
| 19 | } |
| 20 | } |
nothing calls this directly
no test coverage detected