commit | 1fb9f528bd69efa135bacda917ec7bb166068d5d | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu May 11 19:57:09 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Thu May 11 19:57:09 2006 +0000 |
tree | 5b7287c27e4e5e68b5dab40b54899891b533e238 | |
parent | 0ebf27aad939d88cf2a35fc9197a3b72ce698766 [diff] |
Typo fix.
diff --git a/Lib/decimal.py b/Lib/decimal.py index 2e0afff..396c413 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py
@@ -731,7 +731,7 @@ """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.')