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

@@ -73,7 +73,7 @@ class Decimal(object):
def __rmul__(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def __rsub__(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def __rtruediv__(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def __str__(self, eng: bool = ..., context: Context | None = ...) -> str: ...
def __str__(self, eng: bool = ..., context: Context | None = ...) -> str: ... # noqa Y029
def __sub__(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def __truediv__(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def remainder_near(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...