Skip to content

Commit 4556b65

Browse files
committed
fixup
1 parent b825a6a commit 4556b65

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stubs/docutils/docutils/statemachine.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ class ViewList(Generic[_Data]):
129129
def __ne__(self, other: object) -> bool: ...
130130
def __gt__(self, other: Any) -> bool: ...
131131
def __ge__(self, other: Any) -> bool: ...
132-
def __cmp__(self, other: Any) -> int: ...
133132
def __contains__(self, item: ViewList[_Data]) -> bool: ...
134133
def __len__(self) -> int: ...
135134
@overload
@@ -165,9 +164,6 @@ class ViewList(Generic[_Data]):
165164
def xitems(self) -> Generator[tuple[str, int, str], None, None]: ...
166165
def pprint(self) -> None: ...
167166

168-
# dummy atribute to indicate to mypy that ViewList is Iterable
169-
def __iter__(self) -> Iterator[Any]: ...
170-
171167
class StringList(ViewList[str]):
172168
def trim_left(self, length: int, start: int = ..., end: int = ...) -> None: ...
173169
def get_text_block(self, start: int, flush_left: bool = ...) -> StringList: ...

0 commit comments

Comments
 (0)