Show More
@@ -120,12 +120,8 b' else :' | |||||
120 | from ast import Module as OriginalModule |
|
120 | from ast import Module as OriginalModule | |
121 | Module = lambda nodelist, type_ignores: OriginalModule(nodelist) |
|
121 | Module = lambda nodelist, type_ignores: OriginalModule(nodelist) | |
122 |
|
122 | |||
123 | if sys.version_info > (3,6): |
|
123 | _assign_nodes = (ast.AugAssign, ast.AnnAssign, ast.Assign) | |
124 |
|
|
124 | _single_targets_nodes = (ast.AugAssign, ast.AnnAssign) | |
125 | _single_targets_nodes = (ast.AugAssign, ast.AnnAssign) |
|
|||
126 | else: |
|
|||
127 | _assign_nodes = (ast.AugAssign, ast.Assign ) |
|
|||
128 | _single_targets_nodes = (ast.AugAssign, ) |
|
|||
129 |
|
125 | |||
130 | #----------------------------------------------------------------------------- |
|
126 | #----------------------------------------------------------------------------- | |
131 | # Await Helpers |
|
127 | # Await Helpers |
General Comments 0
You need to be logged in to leave comments.
Login now