Merge branch 'master' into python-3.3-to-3.5

This commit is contained in:
rocky
2023-01-16 03:41:25 -05:00
3 changed files with 9 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ class ComprehensionMixin:
self.write(": ")
self.preorder(n[1])
else:
if self.version == (3, 0):
if self.version == (3, 0) and len(n) > 1:
body = n[1]
else:
body = n[0]