(self, o: LambdaExpr, /)
| 401 | self.check_isinstance_arg(item) |
| 402 | |
| 403 | def visit_lambda_expr(self, o: LambdaExpr, /) -> None: |
| 404 | self.annotate( |
| 405 | o, |
| 406 | "A new object is allocated for lambda each time it is evaluated. " |
| 407 | + "A module-level function would be faster.", |
| 408 | ) |
| 409 | super().visit_lambda_expr(o) |
| 410 | |
| 411 | def annotate(self, o: Node, ann: str | Annotation, priority: int = 1) -> None: |
| 412 | if isinstance(ann, str): |