Fix a typo in VariableDeclarator type hints

master
Yury Kurlykov 2020-04-28 04:26:33 +10:00
parent 6414fecbfe
commit 47d6d31239
Signed by: t1meshift
GPG Key ID: B133F3167ABF94D8
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ class VariableDeclarator(Node):
"""A variable declarator."""
def __init__(
self, loc: Optional[SourceLocation], var_id: Pattern, init: Optional[Exception]
self, loc: Optional[SourceLocation], var_id: Pattern, init: Optional[Expression]
):
super().__init__("VariableDeclarator", loc)
self.id = var_id