mirror of
https://github.com/kennethreitz/tablib.git
synced 2026-06-05 23:10:17 +00:00
c5c2dffe42
map() is a function in python2, and iterator in python3+; In any case - map is inefficient compared to either comprehensions (most efficient), or simple loops (close second). SInce in this case, data.append() returns nothing, use a simple look. It is clearer, more efficient, and works with both python2 and python3