Skip to content

Commit b5547d4

Browse files
committed
Fix drop_first method name for typing
bf1a74d added suport for "drop_front" but internally named this method "drop_first". Since the test code uses "drop_first", and to prevent creating a backwards incompatible change, I have chosen to fix the type defintion rather than the internal method name, even though the origin commit used "drop_front" in the commit message.
1 parent b1ed53f commit b5547d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: rpds.pyi

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@ class List(Iterable[T]):
4949
def __iter__(self) -> Iterator[T]: ...
5050
def __len__(self) -> int: ...
5151
def push_front(self, value: T) -> "List[T]": ...
52-
def drop_front(self) -> "List[T]": ...
52+
def drop_first(self) -> "List[T]": ...

0 commit comments

Comments
 (0)