Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d68c941

Browse files
[3.13] Fix typos in Lib/_pydecimal.py (GH-127700) (#127887)
Fix typos in `Lib/_pydecimal.py` (GH-127700) (cherry picked from commit ed037d2) Co-authored-by: Stan Ulbrych <[email protected]>
1 parent f21b38c commit d68c941

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/_pydecimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class DecimalException(ArithmeticError):
9797
9898
Used exceptions derive from this.
9999
If an exception derives from another exception besides this (such as
100-
Underflow (Inexact, Rounded, Subnormal) that indicates that it is only
100+
Underflow (Inexact, Rounded, Subnormal)) that indicates that it is only
101101
called if the others are present. This isn't actually used for
102102
anything, though.
103103
@@ -145,7 +145,7 @@ class InvalidOperation(DecimalException):
145145
x ** (+-)INF
146146
An operand is invalid
147147
148-
The result of the operation after these is a quiet positive NaN,
148+
The result of the operation after this is a quiet positive NaN,
149149
except when the cause is a signaling NaN, in which case the result is
150150
also a quiet NaN, but with the original sign, and an optional
151151
diagnostic information.

0 commit comments

Comments
 (0)