Skip to content

Commit ed037d2

Browse files
Fix typos in Lib/_pydecimal.py (#127700)
1 parent 365451e commit ed037d2

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)