https://github.com/python/cpython/commit/9ec6f77f8a141f6101f3940adbfca73ce4db8bb4
commit: 9ec6f77f8a141f6101f3940adbfca73ce4db8bb4
branch: 3.13
author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com>
committer: hugovk <1324225+hug...@users.noreply.github.com>
date: 2025-04-24T14:09:03Z
summary:

[3.13] gh-128185: Align Decimal docs with spec (case irrelevant for nan/inf) 
(GH-128323) (#132875)

Co-authored-by: Sergey B Kirpichev <skirpic...@gmail.com>

files:
M Doc/library/decimal.rst

diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index 2332b6fc62709d..390e7717647cb3 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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to