diff --git a/mypy/fastparse.py b/mypy/fastparse.py index 1519704f0200d..5729bec7a5f51 100644 --- a/mypy/fastparse.py +++ b/mypy/fastparse.py @@ -1320,15 +1320,12 @@ def visit(self, node: ast3.expr) -> ProperType: ... def visit(self, node: Optional[AST]) -> Optional[ProperType]: ... @overload - def visit(self, node: ast3.expr, - is_type_comment: Optional[bool]) -> ProperType: ... + def visit(self, node: ast3.expr, is_type_comment: bool) -> ProperType: ... @overload - def visit(self, node: Optional[AST], - is_type_comment: Optional[bool]) -> Optional[ProperType]: ... + def visit(self, node: Optional[AST], is_type_comment: bool) -> Optional[ProperType]: ... - def visit(self, node: Optional[AST], - is_type_comment: Optional[bool] = False) -> Optional[ProperType]: + def visit(self, node: Optional[AST], is_type_comment: bool = False) -> Optional[ProperType]: """Modified visit -- keep track of the stack of nodes""" if node is None: return None