[Python-checkins] r45969 - python/trunk/Lib/decimal.py
georg.brandl
python-checkins at python.org
Thu May 11 21:57:12 CEST 2006
Author: georg.brandl
Date: Thu May 11 21:57:09 2006
New Revision: 45969
Modified:
python/trunk/Lib/decimal.py
Log:
Typo fix.
Modified: python/trunk/Lib/decimal.py
==============================================================================
--- python/trunk/Lib/decimal.py (original)
+++ python/trunk/Lib/decimal.py Thu May 11 21:57:09 2006
@@ -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.')
More information about the Python-checkins
mailing list