Analyses the 'comp_for' part of comprehensions (part 2). That is the part after 'for' in (x for x in l if p). This analyzes the 'l' part which is analyzed in the surrounding scope.
(self, expr: GeneratorExpr | DictionaryComprehension)
| 6404 | cond.accept(self) |
| 6405 | |
| 6406 | def analyze_comp_for_2(self, expr: GeneratorExpr | DictionaryComprehension) -> None: |
| 6407 | """Analyses the 'comp_for' part of comprehensions (part 2). |
| 6408 | |
| 6409 | That is the part after 'for' in (x for x in l if p). This analyzes |
| 6410 | the 'l' part which is analyzed in the surrounding scope. |
| 6411 | """ |
| 6412 | expr.sequences[0].accept(self) |
| 6413 | |
| 6414 | def visit_lambda_expr(self, expr: LambdaExpr) -> None: |
| 6415 | self.analyze_arg_initializers(expr) |
no test coverage detected