-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
Expand file tree
/
Copy path_version.pyi
More file actions
17 lines (16 loc) · 641 Bytes
/
Copy path_version.pyi
File metadata and controls
17 lines (16 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
__all__ = ["NumpyVersion"]
class NumpyVersion:
vstring: str
version: str
major: int
minor: int
bugfix: int
pre_release: str
is_devversion: bool
def __init__(self, vstring: str) -> None: ...
def __lt__(self, other: str | NumpyVersion) -> bool: ...
def __le__(self, other: str | NumpyVersion) -> bool: ...
def __eq__(self, other: str | NumpyVersion) -> bool: ... # type: ignore[override]
def __ne__(self, other: str | NumpyVersion) -> bool: ... # type: ignore[override]
def __gt__(self, other: str | NumpyVersion) -> bool: ...
def __ge__(self, other: str | NumpyVersion) -> bool: ...