summaryrefslogtreecommitdiffstats
path: root/Lib/bisect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bisect.py')
-rw-r--r--Lib/bisect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/bisect.py b/Lib/bisect.py
index 4d92bc8..5fbc4ef 100644
--- a/Lib/bisect.py
+++ b/Lib/bisect.py
@@ -6,7 +6,7 @@
def insort(a, x, lo=0, hi=None):
if hi is None:
hi = len(a)
- while lo < hi:
+ while lo < hi:
mid = (lo+hi)/2
if x < a[mid]: hi = mid
else: lo = mid+1
@@ -18,7 +18,7 @@ def insort(a, x, lo=0, hi=None):
def bisect(a, x, lo=0, hi=None):
if hi is None:
hi = len(a)
- while lo < hi:
+ while lo < hi:
mid = (lo+hi)/2
if x < a[mid]: hi = mid
else: lo = mid+1