You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
9 lines
288 B
Python
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)]
|