fast_map icon indicating copy to clipboard operation
fast_map copied to clipboard

'int' object is not iterable

Open HenDGS opened this issue 2 years ago • 1 comments

image

Any idea why I am getting this error?

HenDGS avatar Dec 04 '22 17:12 HenDGS

Hello, sorry for late response, the 2nd argument of fast_map should be an iterable (e.g. list, tuple, generator) where each element contains argument/arguments to the called function.

Most likely your code called the fast_map like:

fast_map(func, 60)

The correct way to call it would be:

fast_map(func, [60])

michalmonday avatar Aug 30 '23 09:08 michalmonday