mirror of
https://github.com/python/cpython.git
synced 2026-02-14 03:10:44 +00:00
[3.13] gh-128185: Align Decimal docs with spec (case irrelevant for nan/inf) (GH-128323) (#132875)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
bd4a39f125
commit
9ec6f77f8a
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue