decimal: add __libmpdec_version__ (#7311)

This commit is contained in:
Shantanu
2022-02-19 18:17:46 -08:00
committed by GitHub
parent b74acc7546
commit 06a2024422
2 changed files with 4 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ _Decimal = Union[Decimal, int]
_DecimalNew = Union[Decimal, float, str, tuple[int, Sequence[int], int]]
_ComparableNum = Union[Decimal, float, numbers.Rational]
__libmpdec_version__: str
class DecimalTuple(NamedTuple):
sign: int
digits: tuple[int, ...]