Skip to content

Commit 69bf0ef

Browse files
committed
Improve documentation
1 parent 3c8f598 commit 69bf0ef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/python/ttconv/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ def __init__(self):
9494

9595
@staticmethod
9696
def _bisect_left(a, x, lo=0, key=None):
97+
"""Polyfill for bisect.bisect_left with key argument"""
9798
if lo < 0:
9899
raise ValueError('lo must be non-negative')
99100

@@ -113,6 +114,7 @@ def _bisect_left(a, x, lo=0, key=None):
113114

114115
@staticmethod
115116
def _bisect_right(a, x, lo=0, key=None):
117+
"""Polyfill for bisect.bisect_right with key argument"""
116118
if lo < 0:
117119
raise ValueError('lo must be non-negative')
118120
hi = len(a)

0 commit comments

Comments
 (0)