Skip to content
Snippets Groups Projects
Commit c82a2330 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Replace map with for loop

map in Python 2 performed the loop iteration immediately
and returned a list whereas Python 3 returns an iterator
for lazy evaluation. If you don't care about the result
the iteration never happens!
parent 3a2e0296
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment