mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
stdlib: Add several missing comparison methods (#7202)
This commit is contained in:
@@ -111,6 +111,10 @@ PI: Callable[..., Element]
|
||||
class QName:
|
||||
text: str
|
||||
def __init__(self, text_or_uri: str, tag: str | None = ...) -> None: ...
|
||||
def __lt__(self, other: QName | str) -> bool: ...
|
||||
def __le__(self, other: QName | str) -> bool: ...
|
||||
def __gt__(self, other: QName | str) -> bool: ...
|
||||
def __ge__(self, other: QName | str) -> bool: ...
|
||||
|
||||
class ElementTree:
|
||||
def __init__(self, element: Element | None = ..., file: _File | None = ...) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user