Files
python-uncompyle6/test/simple_source/bug36/02_genexpr.py
rocky 43076a2548 3.6 genexpr has changed
Fixes Issue #139
2017-11-28 06:57:15 -05:00

6 lines
241 B
Python

# Python 3.6, uses rule:
# genexpr ::= load_closure load_genexpr LOAD_CONST
# MAKE_FUNCTION_8 expr GET_ITER CALL_FUNCTION_1
def __sub__(self, other): # SList()-other
return self.__class__(i for i in self if i not in other)