File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -1320,15 +1320,12 @@ def visit(self, node: ast3.expr) -> ProperType: ...
1320
1320
def visit (self , node : Optional [AST ]) -> Optional [ProperType ]: ...
1321
1321
1322
1322
@overload
1323
- def visit (self , node : ast3 .expr ,
1324
- is_type_comment : Optional [bool ]) -> ProperType : ...
1323
+ def visit (self , node : ast3 .expr , is_type_comment : bool ) -> ProperType : ...
1325
1324
1326
1325
@overload
1327
- def visit (self , node : Optional [AST ],
1328
- is_type_comment : Optional [bool ]) -> Optional [ProperType ]: ...
1326
+ def visit (self , node : Optional [AST ], is_type_comment : bool ) -> Optional [ProperType ]: ...
1329
1327
1330
- def visit (self , node : Optional [AST ],
1331
- is_type_comment : Optional [bool ] = False ) -> Optional [ProperType ]:
1328
+ def visit (self , node : Optional [AST ], is_type_comment : bool = False ) -> Optional [ProperType ]:
1332
1329
"""Modified visit -- keep track of the stack of nodes"""
1333
1330
if node is None :
1334
1331
return None
You can’t perform that action at this time.
0 commit comments