Issue #10356: hash(Decimal("sNaN")) now raises ValueError instead of TypeError.
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 5a9f840..b78c2c5 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -943,7 +943,7 @@
         # in the documentation.  (See library docs, 'Built-in Types').
         if self._is_special:
             if self.is_snan():
-                raise TypeError('Cannot hash a signaling NaN value.')
+                raise ValueError('Cannot hash a signaling NaN value.')
             elif self.is_nan():
                 return _PyHASH_NAN
             else: