ast.Dict keys can be None (#3462)

See https://greentreesnakes.readthedocs.io/en/latest/nodes.html#Dict
This commit is contained in:
Ryan Morshead
2019-11-13 11:09:30 -08:00
committed by Sebastian Rittau
parent ba520034c7
commit 8b6cd5c3f0

View File

@@ -209,7 +209,7 @@ class IfExp(expr):
orelse: expr
class Dict(expr):
keys: typing.List[expr]
keys: typing.List[Optional[expr]]
values: typing.List[expr]
class Set(expr):