pycdc
pycdc copied to clipboard
generator expressions in 2.7 and above
The following doesn't decompile correctly in every Python version that allows this:
def __sub__(self):
return self.__class__(i for i in self)
On 2.7 I get:
def __sub__(self, other):
return self.__class__((lambda .0: continue)(self))
Same error