Skip to content

gh-128185: align Decimal docs with spec (case irrelevant for nan/inf's) #128323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Doc/library/decimal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading