Files
python-uncompyle6/test/simple_source/comprehension/11-list-if.py
2016-05-09 05:03:49 -04:00

9 lines
288 B
Python

# Test Python 3.x test semantic handling of
#
# load_closure ::= LOAD_CLOSURE BUILD_TUPLE_1
# ...
# listcomp ::= load_closure LOAD_LISTCOMP LOAD_CONST MAKE_CLOSURE_0 expr GET_ITER CALL_FUNCTION_1
def long_has_args(opt, longopts):
return [o for o in longopts if o.startswith(opt)]