(
node: ast.AST, parent_stack: list[ast.AST], new_parent: ast.AST
)
| 178 | |
| 179 | |
| 180 | def _stringify_ast_with_new_parent( |
| 181 | node: ast.AST, parent_stack: list[ast.AST], new_parent: ast.AST |
| 182 | ) -> Iterator[str]: |
| 183 | parent_stack.append(new_parent) |
| 184 | yield from _stringify_ast(node, parent_stack) |
| 185 | parent_stack.pop() |
| 186 | |
| 187 | |
| 188 | def _stringify_ast(node: ast.AST, parent_stack: list[ast.AST]) -> Iterator[str]: |
no test coverage detected