https://github.com/python/cpython/commit/2916f838e62dfb589179236d9405659544948767
commit: 2916f838e62dfb589179236d9405659544948767
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: Eclips4 <[email protected]>
date: 2024-12-12T20:45:20Z
summary:

[3.12] Fix typos in `Lib/_pydecimal.py` (GH-127700) (#127888)

Fix typos in `Lib/_pydecimal.py` (GH-127700)
(cherry picked from commit ed037d229f64db90aea00f397e9ce1b2f4a22d3f)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Lib/_pydecimal.py

diff --git a/Lib/_pydecimal.py b/Lib/_pydecimal.py
index 75df3db262470b..ff80180a79e97a 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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to