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 1616# pylint: disable=too-many-lines
1717from __future__ import print_function
1818
19+ import sys
20+ import traceback
21+
1922from bisect import bisect_left , bisect_right , insort
2023from itertools import chain , repeat , starmap
2124from math import log
@@ -1658,8 +1661,6 @@ def _check(self):
16581661 child_sum = self ._index [child ] + self ._index [child + 1 ]
16591662 assert child_sum == self ._index [pos ]
16601663 except :
1661- import sys
1662- import traceback
16631664 traceback .print_exc (file = sys .stdout )
16641665 print ('len' , self ._len )
16651666 print ('load' , self ._load )
@@ -2617,8 +2618,6 @@ def _check(self):
26172618 child_sum = self ._index [child ] + self ._index [child + 1 ]
26182619 assert child_sum == self ._index [pos ]
26192620 except :
2620- import sys
2621- import traceback
26222621 traceback .print_exc (file = sys .stdout )
26232622 print ('len' , self ._len )
26242623 print ('load' , self ._load )
You can’t perform that action at this time.
0 commit comments