def visit_While(self, node: ast.While) -> Optional[ast.AST]:
new_node = self.generic_visit(node)<EOL>assert isinstance(new_node, ast.While)<EOL>return ast.copy_location(<EOL>ast.While(<EOL>test=new_node.test,<EOL>body=_filter_dead_code(new_node.body),<EOL>orelse=_filter_dead_code(new_node.orelse),<EOL>),<EOL>new_node,<EOL>)<EOL>
Eliminate dead code from while bodies.