Skip to content

Commit 7c71f3b

Browse files
authored
[protobuf] Add reverse method to containers class
1 parent 3e74d5c commit 7c71f3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stubs/protobuf/google/protobuf/internal/containers.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class BaseContainer(Sequence[_T]):
2525
def __hash__(self) -> int: ...
2626
# Same as list.sort, the extra sort_function kwarg errors in Python 3
2727
def sort(self, *, key: Callable[[_T], Any] | None = None, reverse: bool = False) -> None: ...
28+
def reverse(self) -> None: ...
2829
@overload
2930
def __getitem__(self, key: SupportsIndex) -> _T: ...
3031
@overload

0 commit comments

Comments
 (0)