Typo fix.

This commit is contained in:
Georg Brandl 2006-05-11 19:57:09 +00:00
parent 0ebf27aad9
commit 1fb9f528bd
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ class Decimal(object):
"""x.__hash__() <==> hash(x)""" """x.__hash__() <==> hash(x)"""
# Decimal integers must hash the same as the ints # Decimal integers must hash the same as the ints
# Non-integer decimals are normalized and hashed as strings # 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._is_special:
if self._isnan(): if self._isnan():
raise TypeError('Cannot hash a NaN value.') raise TypeError('Cannot hash a NaN value.')