From 4ac61ea543e0e97f64a3d93008794ade388b3b77 Mon Sep 17 00:00:00 2001 From: Ismail Date: Wed, 2 Mar 2016 22:47:55 +0000 Subject: [PATCH] Remove unnecessary __methods__ --- stdlib/3/xml/etree/ElementTree.pyi | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/stdlib/3/xml/etree/ElementTree.pyi b/stdlib/3/xml/etree/ElementTree.pyi index cd97c29f8..49040f7cf 100644 --- a/stdlib/3/xml/etree/ElementTree.pyi +++ b/stdlib/3/xml/etree/ElementTree.pyi @@ -55,13 +55,7 @@ PI = ... # type: Callable[..., Element] class QName: text = ... # type: str def __init__(self, text_or_uri: str, tag: str=...) -> None: ... - def __hash__(self) -> int: ... - def __le__(self, other: Union[str, QName]) -> bool: ... - def __lt__(self, other: Union[str, QName]) -> bool: ... - def __ge__(self, other: Union[str, QName]) -> bool: ... - def __gt__(self, other: Union[str, QName]) -> bool: ... - def __eq__(self, other: Union[str, QName]) -> bool: ... - def __ne__(self, other: Union[str, QName]) -> bool: ... + _file_or_filename = Union[str, bytes, int, IO[Any]]