]> granicus.if.org Git - python/commitdiff
Typo fix.
authorGeorg Brandl <georg@python.org>
Thu, 11 May 2006 19:57:09 +0000 (19:57 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 11 May 2006 19:57:09 +0000 (19:57 +0000)
Lib/decimal.py

index 2e0afffd07704181ac119ca1c281ae7f396cd929..396c413cff602956253cada0a08634948e8fa52e 100644 (file)
@@ -731,7 +731,7 @@ class Decimal(object):
         """x.__hash__() <==> hash(x)"""
         # Decimal integers must hash the same as the ints
         # Non-integer decimals are normalized and hashed as strings
-        # Normalization assures that hast(100E-1) == hash(10)
+        # Normalization assures that hash(100E-1) == hash(10)
         if self._is_special:
             if self._isnan():
                 raise TypeError('Cannot hash a NaN value.')