Is there a more elegant way to spell this?

Neal Becker ndbecker2 at gmail.com
Tue Jan 27 08:15:12 EST 2015


Is there a more elegant way to spell this?

for x in [_ for _ in seq if some_predicate]:


-- 
-- Those who don't understand recursion are doomed to repeat it




More information about the Python-list mailing list