Remove nearly all __str__ and __repr__ methods from typeshed (#6968)

This commit is contained in:
Alex Waygood
2022-01-19 23:45:11 +00:00
committed by GitHub
parent fe6233a8c3
commit aea52b35d1
27 changed files with 11 additions and 72 deletions

View File

@@ -4,7 +4,6 @@ class weekday(object):
def __init__(self, weekday: int, n: int | None = ...) -> None: ...
def __call__(self: Self, n: int) -> Self: ...
def __eq__(self, other: object) -> bool: ...
def __repr__(self) -> str: ...
def __hash__(self) -> int: ...
weekday: int
n: int

View File

@@ -94,6 +94,5 @@ class relativedelta(object):
def __ne__(self, other: object) -> bool: ...
def __div__(self: Self, other: SupportsFloat) -> Self: ...
def __truediv__(self: Self, other: SupportsFloat) -> Self: ...
def __repr__(self) -> str: ...
def __abs__(self: Self) -> Self: ...
def __hash__(self) -> int: ...