Bump decimal to 3.14 (#14017)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Semyon Moroz
2025-05-12 05:23:21 +00:00
committed by GitHub
parent 30b7b679f5
commit d01b052dad
4 changed files with 17 additions and 5 deletions
+5
View File
@@ -41,6 +41,8 @@ MAX_EMAX: Final[int]
MAX_PREC: Final[int]
MIN_EMIN: Final[int]
MIN_ETINY: Final[int]
if sys.version_info >= (3, 14):
IEEE_CONTEXT_MAX_BITS: Final[int]
def setcontext(context: Context, /) -> None: ...
def getcontext() -> Context: ...
@@ -62,6 +64,9 @@ if sys.version_info >= (3, 11):
else:
def localcontext(ctx: Context | None = None) -> _ContextManager: ...
if sys.version_info >= (3, 14):
def IEEEContext(bits: int, /) -> Context: ...
DefaultContext: Context
BasicContext: Context
ExtendedContext: Context