def function(): gen_expr = (foo for foo in xrange(10)) #