Rémi Lapeyre <remi.lape...@henki.fr> added the comment: I don't think something so obvious can be added, if you want a one liner you can write:
for e in iterable: f(e) I think it would go in itertools if it were accepted. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41107> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com