I was wondering if there is a way to run map on something. The way map works is it takes an iterable and applies a function to each item in that iterable producing a list. Is there a way to have map modify the iterable object itself?
A slice assignment is often ok if you need to modify a list in place
mylist[:] = map(func, mylist)