Skip to content

Commit

Permalink
Fix typos in Lib/_pydecimal.py (pythonGH-127700)
Browse files Browse the repository at this point in the history
(cherry picked from commit ed037d2)

Co-authored-by: Stan Ulbrych <[email protected]>
  • Loading branch information
StanFromIreland authored and miss-islington committed Dec 12, 2024
1 parent 320a1dc commit 3442340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/_pydecimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class DecimalException(ArithmeticError):
Used exceptions derive from this.
If an exception derives from another exception besides this (such as
Underflow (Inexact, Rounded, Subnormal) that indicates that it is only
Underflow (Inexact, Rounded, Subnormal)) that indicates that it is only
called if the others are present. This isn't actually used for
anything, though.
Expand Down Expand Up @@ -145,7 +145,7 @@ class InvalidOperation(DecimalException):
x ** (+-)INF
An operand is invalid
The result of the operation after these is a quiet positive NaN,
The result of the operation after this is a quiet positive NaN,
except when the cause is a signaling NaN, in which case the result is
also a quiet NaN, but with the original sign, and an optional
diagnostic information.
Expand Down

0 comments on commit 3442340

Please sign in to comment.