_version.pyi 701 B

12345678910111213141516171819
  1. from typing import Union, List
  2. __all__: List[str]
  3. class NumpyVersion:
  4. vstring: str
  5. version: str
  6. major: int
  7. minor: int
  8. bugfix: int
  9. pre_release: str
  10. is_devversion: bool
  11. def __init__(self, vstring: str) -> None: ...
  12. def __lt__(self, other: Union[str, NumpyVersion]) -> bool: ...
  13. def __le__(self, other: Union[str, NumpyVersion]) -> bool: ...
  14. def __eq__(self, other: Union[str, NumpyVersion]) -> bool: ... # type: ignore[override]
  15. def __ne__(self, other: Union[str, NumpyVersion]) -> bool: ... # type: ignore[override]
  16. def __gt__(self, other: Union[str, NumpyVersion]) -> bool: ...
  17. def __ge__(self, other: Union[str, NumpyVersion]) -> bool: ...