File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Open diff view settings
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Open diff view settings
Original file line number Diff line number Diff line change 1- from __future__ import print_function
21# Copyright 2008 the V8 project authors. All rights reserved.
32# Redistribution and use in source and binary forms, with or without
43# modification, are permitted provided that the following conditions are
2625# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2726# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2827
28+ from __future__ import print_function
29+
2930import test
3031import os
3132from os .path import join , exists , basename , isdir
3233import re
3334import utils
3435
36+ try :
37+ reduce # Python 2
38+ except NameError : # Python 3
39+ from functools import reduce
40+
3541try :
3642 xrange # Python 2
3743except NameError :
You can’t perform that action at this time.
0 commit comments