Added excepthandler to ast stubfiles (#2891)

This commit is contained in:
William Ayd
2019-03-28 08:23:56 -07:00
committed by Jelle Zijlstra
parent cc596aefbc
commit bce70d1ca6
2 changed files with 9 additions and 2 deletions

View File

@@ -305,7 +305,11 @@ class comprehension(AST):
ifs = ... # type: typing.List[expr]
class ExceptHandler(AST):
class excepthandler(AST):
...
class ExceptHandler(excepthandler):
type = ... # type: Optional[expr]
name = ... # type: Optional[expr]
body = ... # type: typing.List[stmt]

View File

@@ -375,7 +375,10 @@ class comprehension(AST):
is_async = ... # type: int
class ExceptHandler(AST):
class excepthandler(AST):
...
class ExceptHandler(excepthandler):
type = ... # type: Optional[expr]
name = ... # type: Optional[_identifier]
body = ... # type: typing.List[stmt]