(type: Type)
| 904 | expected = self.named_type("builtins.int") |
| 905 | |
| 906 | def check_type(type: Type) -> bool: |
| 907 | expected = self.named_type("builtins.int") |
| 908 | return self.chk.check_subtype( |
| 909 | type, expected, context, "* wants int", code=codes.STRING_FORMATTING |
| 910 | ) |
| 911 | |
| 912 | def check_expr(expr: Expression) -> None: |
| 913 | type = self.accept(expr, expected) |
nothing calls this directly
no test coverage detected