In article <[email protected]>, [email protected] says... > > If you mean literally some_predicate, then perhaps this. > > if some_predicate: > for x in seq: > handle(x) >
Careful. See Chris Warrick answer for the correct position of the 'if' statement. -- https://mail.python.org/mailman/listinfo/python-list
