Skip to content

Commit c955e6e

Browse files
committed
Python 3 removes the reduce builtin
This fix is merely the result of the suggestion in the Python 3 docs. See: https://docs.python.org/3.0/whatsnew/3.0.html#builtins
1 parent 91ffcd7 commit c955e6e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/update-checkout

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import json
1616
import os
1717
import sys
1818

19+
from functools import reduce
20+
1921
sys.path.append(os.path.dirname(__file__))
2022

2123
from SwiftBuildSupport import (

0 commit comments

Comments
 (0)