Skip to content

Commit 05cb3db

Browse files
h4lDMRobertson
andcommitted
fix: use correct syntax for reverse kwarg
grantjenks/python-sortedcontainers#107 (review) Co-authored-by: David Robertson <[email protected]>
1 parent 975432a commit 05cb3db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sortedcontainers-stubs/sortedlist.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class SortedList(MutableSequence[_T]):
8181
self,
8282
start: Optional[int] = ...,
8383
stop: Optional[int] = ...,
84-
reverse=bool,
84+
reverse: bool = ...,
8585
) -> Iterator[_T]: ...
8686
def _islice(
8787
self,

sortedcontainers-stubs/sortedset.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class SortedSet(MutableSet[_T], Sequence[_T]):
111111
self,
112112
start: Optional[int] = ...,
113113
stop: Optional[int] = ...,
114-
reverse=bool,
114+
reverse: bool = ...,
115115
) -> Iterator[_T]: ...
116116
def irange(
117117
self,

0 commit comments

Comments
 (0)