diff options
| author | Georg Brandl <georg@python.org> | 2006-05-11 19:57:09 +0000 | 
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2006-05-11 19:57:09 +0000 | 
| commit | 1fb9f528bd69efa135bacda917ec7bb166068d5d (patch) | |
| tree | 5b7287c27e4e5e68b5dab40b54899891b533e238 /Lib | |
| parent | 0ebf27aad939d88cf2a35fc9197a3b72ce698766 (diff) | |
| download | cpython-git-1fb9f528bd69efa135bacda917ec7bb166068d5d.tar.gz | |
Typo fix.
Diffstat (limited to 'Lib')
| -rw-r--r-- | Lib/decimal.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py index 2e0afffd07..396c413cff 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -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.')  | 
