Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38c4a1e

Browse files
authored
Remove redundant __str__ methods (#8475)
1 parent 65dadac commit 38c4a1e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

stubs/setuptools/setuptools/_distutils/version.pyi

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class StrictVersion(Version):
1515
prerelease: tuple[str, int] | None
1616
def __init__(self, vstring: str | None = ...) -> None: ...
1717
def parse(self: Self, vstring: str) -> Self: ...
18-
def __str__(self) -> str: ... # noqa: Y029
1918
def _cmp(self: Self, other: Self | str) -> bool: ...
2019

2120
class LooseVersion(Version):
@@ -24,5 +23,4 @@ class LooseVersion(Version):
2423
version: tuple[str | int, ...]
2524
def __init__(self, vstring: str | None = ...) -> None: ...
2625
def parse(self: Self, vstring: str) -> Self: ...
27-
def __str__(self) -> str: ... # noqa: Y029
2826
def _cmp(self: Self, other: Self | str) -> bool: ...

0 commit comments

Comments
 (0)