[Zope-dev] reduce() doesn't work in Python Scripts

Brad Clements bkc@murkworks.com
Thu, 6 Dec 2001 09:44:55 -0500


In Zope 2.4.3 binary on Linux

import operator

reduce(operator.add,[0,1,2,3,4])

gives me Error Value: global name 'reduce' is not defined

Is this a faq?


Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
netmeeting: ils://ils.murkworks.com               AOL-IM: BKClements