1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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: