mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00

This PR copies over the `pep440-rs` crate at commit `a8303b01ffef6fccfdce562a887f6b110d482ef3` with no modifications. It won't pass CI, but modifications will intentionally be confined to later PRs.
40 lines
1.1 KiB
Python
40 lines
1.1 KiB
Python
# Generated by `stubgen -p pep440_rs`
|
|
from typing import Any, ClassVar
|
|
|
|
|
|
class Version:
|
|
dev: Any
|
|
epoch: Any
|
|
post: Any
|
|
pre: Any
|
|
release: Any
|
|
major: Any
|
|
minor: Any
|
|
micro: Any
|
|
|
|
@classmethod
|
|
def __init__(cls, *args, **kwargs) -> None: ...
|
|
def any_prerelease(self, *args, **kwargs) -> Any: ...
|
|
def parse_star(self, *args, **kwargs) -> Any: ...
|
|
def __eq__(self, other) -> Any: ...
|
|
def __ge__(self, other) -> Any: ...
|
|
def __gt__(self, other) -> Any: ...
|
|
def __hash__(self) -> Any: ...
|
|
def __le__(self, other) -> Any: ...
|
|
def __lt__(self, other) -> Any: ...
|
|
def __ne__(self, other) -> Any: ...
|
|
|
|
|
|
class VersionSpecifier:
|
|
__hash__: ClassVar[None] = ...
|
|
|
|
@classmethod
|
|
def __init__(cls, *args, **kwargs) -> None: ...
|
|
def contains(self, *args, **kwargs) -> Any: ...
|
|
def __contains__(self, other) -> Any: ...
|
|
def __eq__(self, other) -> Any: ...
|
|
def __ge__(self, other) -> Any: ...
|
|
def __gt__(self, other) -> Any: ...
|
|
def __le__(self, other) -> Any: ...
|
|
def __lt__(self, other) -> Any: ...
|
|
def __ne__(self, other) -> Any: ...
|