Adding py3 stub for reduce from six.moves

This commit is contained in:
James Cammarata 2016-03-01 16:55:01 -05:00
parent b853e932d1
commit b559d0e6ee

View file

@ -113,6 +113,12 @@ else:
def iteritems(d):
return d.iteritems()
try:
reduce
except NameError:
# Python 3
from six.moves import reduce
try:
NUMBERTYPES = (int, long, float)
except NameError: