summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>2024-12-12 20:27:29 (GMT)
committerGitHub <noreply@github.com>2024-12-12 20:27:29 (GMT)
commited037d229f64db90aea00f397e9ce1b2f4a22d3f (patch)
treeeb8f1b8e8f1cecbd8e9f82631a499a0bdce57230
parent365451e28368db46ae89a3a990d85c10c2284aa2 (diff)
downloadcpython-ed037d229f64db90aea00f397e9ce1b2f4a22d3f.zip
cpython-ed037d229f64db90aea00f397e9ce1b2f4a22d3f.tar.gz
cpython-ed037d229f64db90aea00f397e9ce1b2f4a22d3f.tar.bz2
Fix typos in `Lib/_pydecimal.py` (#127700)
-rw-r--r--Lib/_pydecimal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/_pydecimal.py b/Lib/_pydecimal.py
index 5b60570..ec03619 100644
--- a/Lib/_pydecimal.py
+++ b/Lib/_pydecimal.py
@@ -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.
@@ -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.