[issue40342] Programming FAQ about "How do I apply a method to a sequence of objects?" should include the option of an explicit for-loop

Raymond Hettinger report at bugs.python.org
Mon Apr 20 17:17:11 EDT 2020


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

The current answer seems reasonable to me.  It addresses the question that most people want to have answered.  Also, it isn't common to loop over methods that don't return values, because those typically do in-place mutations.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40342>
_______________________________________


More information about the Python-bugs-list mailing list