Vladimir

23%
Flag icon
In Python 3, map and filter return generators—a form of iterator—so their direct substitute is now a generator expression (in Python 2, these functions returned lists, therefore their closest alternative was a listcomp).
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating
Open Preview