(self, callee: CallableType, context: Context)
| 945 | self.note_defined_here(callee, context) |
| 946 | |
| 947 | def too_many_arguments(self, callee: CallableType, context: Context) -> None: |
| 948 | if self.prefer_simple_messages(): |
| 949 | msg = "Too many arguments" |
| 950 | else: |
| 951 | msg = "Too many arguments" + for_function(callee) |
| 952 | self.fail(msg, context, code=codes.CALL_ARG) |
| 953 | self.maybe_note_about_special_args(callee, context) |
| 954 | |
| 955 | def too_many_arguments_from_typed_dict( |
| 956 | self, callee: CallableType, arg_type: TypedDictType, context: Context |
no test coverage detected