mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Added excepthandler to ast stubfiles (#2891)
This commit is contained in:
committed by
Jelle Zijlstra
parent
cc596aefbc
commit
bce70d1ca6
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user