File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 16
16
# pylint: disable=too-many-lines
17
17
from __future__ import print_function
18
18
19
+ import sys
20
+ import traceback
21
+
19
22
from bisect import bisect_left , bisect_right , insort
20
23
from itertools import chain , repeat , starmap
21
24
from math import log
@@ -1658,8 +1661,6 @@ def _check(self):
1658
1661
child_sum = self ._index [child ] + self ._index [child + 1 ]
1659
1662
assert child_sum == self ._index [pos ]
1660
1663
except :
1661
- import sys
1662
- import traceback
1663
1664
traceback .print_exc (file = sys .stdout )
1664
1665
print ('len' , self ._len )
1665
1666
print ('load' , self ._load )
@@ -2617,8 +2618,6 @@ def _check(self):
2617
2618
child_sum = self ._index [child ] + self ._index [child + 1 ]
2618
2619
assert child_sum == self ._index [pos ]
2619
2620
except :
2620
- import sys
2621
- import traceback
2622
2621
traceback .print_exc (file = sys .stdout )
2623
2622
print ('len' , self ._len )
2624
2623
print ('load' , self ._load )
You can’t perform that action at this time.
0 commit comments