EXPERIMENTAL fix var annotation without assignment
@@ -1156,6 +1156,7 @@ class Generator (ast.NodeVisitor):
self.emit ('.{}', self.filterId (node.attr))
def visit_AnnAssign (self, node):
+ if node.value != None: # Rather than a node.value is a NameConstant with value None
self.visit (
ast.Assign (
[node.target],
