Source

pypy / pypy / module / micronumpy / support.py

1
2
3
4
5
def product(s):
    i = 1
    for x in s:
        i *= x
    return i