(self, node: ast3.expr | ast3.stmt)
| 444 | return cast(list[Expression], self.translate_opt_expr_list(l)) |
| 445 | |
| 446 | def get_lineno(self, node: ast3.expr | ast3.stmt) -> int: |
| 447 | if ( |
| 448 | isinstance(node, (ast3.AsyncFunctionDef, ast3.ClassDef, ast3.FunctionDef)) |
| 449 | and node.decorator_list |
| 450 | ): |
| 451 | return node.decorator_list[0].lineno |
| 452 | return node.lineno |
| 453 | |
| 454 | def translate_stmt_list( |
| 455 | self, |
no test coverage detected