Dict comprehensions are working partially.

This commit is contained in:
Dave Halter committed 2015-12-27 17:20:49 +01:00
1 parent b3f7d0c29a
commit 03eaf8455f
4 files changed
+25 -8

No files matched your search

+7
View File
@@ -201,6 +201,13 @@ class SetComprehension(Comprehension, ArrayMixin):
type = 'set'
class DictComprehension(Comprehension, ArrayMixin):
type = 'dict'
def _get_comp_for(self):
return self._get_comprehension().children[3]
class GeneratorComprehension(Comprehension, GeneratorMixin):
pass