Add optional *func* argument to itertools.accumulate().
4 files changed