Fix subscript in store_annotation + indentation

This commit is contained in:
x0ret
2019-06-12 00:26:34 +04:30
parent 43348d7d24
commit c871a4ecc5
2 changed files with 2 additions and 1 deletions

View File

@@ -276,6 +276,7 @@ class Python36Parser(Python35Parser):
ann_assign_init_value ::= expr store store_annotation
ann_assign_no_init ::= store_annotation
store_annotation ::= LOAD_NAME STORE_ANNOTATION
store_annotation ::= subscript STORE_ANNOTATION
"""
self.addRule(rule, nop_func)
# Check to combine assignment + annotation into one statement