Reduce Module In Python Definition