(&self, vm: &VirtualMachine)
| 292 | } |
| 293 | |
| 294 | pub fn check_kwargs_empty(&self, vm: &VirtualMachine) -> Option<PyBaseExceptionRef> { |
| 295 | self.kwargs |
| 296 | .keys() |
| 297 | .next() |
| 298 | .map(|k| vm.new_type_error(format!("Unexpected keyword argument {k}"))) |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | /// An error encountered while binding arguments to the parameters of a Python |
no test coverage detected