Improve a bunch of __(deep)copy__ methods (#7148)

This commit is contained in:
Alex Waygood
2022-02-06 23:40:44 +00:00
committed by GitHub
parent a62fd92fb0
commit 494481a0ae
6 changed files with 13 additions and 10 deletions

View File

@@ -146,8 +146,8 @@ class Decimal:
def scaleb(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def shift(self, other: _Decimal, context: Context | None = ...) -> Decimal: ...
def __reduce__(self) -> tuple[type[Decimal], tuple[str]]: ...
def __copy__(self) -> Decimal: ...
def __deepcopy__(self, __memo: Any) -> Decimal: ...
def __copy__(self: Self) -> Self: ...
def __deepcopy__(self: Self, __memo: Any) -> Self: ...
def __format__(self, __specifier: str, __context: Context | None = ...) -> str: ...
class _ContextManager: