Skip to content

Commit caa5ca5

Browse files
h4lDMRobertson
andcommitted
fix: add missing return type for irange/irange_key
grantjenks/python-sortedcontainers#107 (review) Co-authored-by: David Robertson <[email protected]>
1 parent 05cb3db commit caa5ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sortedcontainers-stubs/sortedlist.pyi

+2-2
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,14 @@ class SortedKeyList(SortedList[_T]):
153153
maximum: Optional[_T] = ...,
154154
inclusive: Tuple[bool, bool] = ...,
155155
reverse: bool = ...,
156-
): ...
156+
) -> Iterator[_T]: ...
157157
def irange_key(
158158
self,
159159
min_key: Optional[Any] = ...,
160160
max_key: Optional[Any] = ...,
161161
inclusive: Tuple[bool, bool] = ...,
162162
reserve: bool = ...,
163-
): ...
163+
) -> Iterator[_T]: ...
164164
def bisect_left(self, value: _T) -> int: ...
165165
def bisect_right(self, value: _T) -> int: ...
166166
def bisect(self, value: _T) -> int: ...

0 commit comments

Comments
 (0)