https://github.com/python/cpython/commit/8047e50cb70ca011236dd0885236a13b8c97dcfc
commit: 8047e50cb70ca011236dd0885236a13b8c97dcfc
branch: main
author: Sergey B Kirpichev <[email protected]>
committer: hugovk <[email protected]>
date: 2025-04-24T17:02:49+03:00
summary:
gh-128185: Align Decimal docs with spec (case irrelevant for nan/inf) (#128323)
files:
M Doc/library/decimal.rst
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 1b334b0aa5f56c..06f71a4a83da24 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -367,6 +367,8 @@ Decimal objects
appears above. These include decimal digits from various other
alphabets (for example, Arabic-Indic and Devanāgarī digits) along
with the fullwidth digits ``'\uff10'`` through ``'\uff19'``.
+ Case is not significant, so, for example, ``inf``, ``Inf``, ``INFINITY``,
+ and ``iNfINity`` are all acceptable spellings for positive infinity.
If *value* is a :class:`tuple`, it should have three components, a sign
(``0`` for positive or ``1`` for negative), a :class:`tuple` of
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]