summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-05-11 19:57:09 (GMT)
committerGeorg Brandl <georg@python.org>2006-05-11 19:57:09 (GMT)
commit1fb9f528bd69efa135bacda917ec7bb166068d5d (patch)
tree5b7287c27e4e5e68b5dab40b54899891b533e238
parent0ebf27aad939d88cf2a35fc9197a3b72ce698766 (diff)
downloadcpython-1fb9f528bd69efa135bacda917ec7bb166068d5d.zip
cpython-1fb9f528bd69efa135bacda917ec7bb166068d5d.tar.gz
cpython-1fb9f528bd69efa135bacda917ec7bb166068d5d.tar.bz2
Typo fix.
-rw-r--r--Lib/decimal.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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.')