OILS / opy / gold / genexpr_closure.py View on Github | oilshell.org

9 lines, 2 significant
1#!/usr/bin/env python2
2"""
3genexpr_closure.py
4"""
5def main(argv):
6 return all(c in ('a', 'b') for c in argv[1:])
7
8 # NO LOAD_CLOSURE in this case.
9 #return all([c in ('a', 'b') for c in argv[1:]])