[Python-checkins] r45254 - python/trunk/Misc/NEWS

tim.peters python-checkins at python.org
Tue Apr 11 03:47:17 CEST 2006


Author: tim.peters
Date: Tue Apr 11 03:47:17 2006
New Revision: 45254
Modified:
 python/trunk/Misc/NEWS
Log:
Typo repair.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Apr 11 03:47:17 2006
@@ -15,7 +15,7 @@
 - Patch #837242: ``id()`` of any Python object always gives a positive
 number now, which might be a long integer. ``PyLong_FromVoidPtr`` and
 ``PyLong_AsVoidPtr`` have been changed accordingly. Note that it has
- never been correct to implement a ``hash()`` method that returns the
+ never been correct to implement a ``__hash()__`` method that returns the
 ``id()`` of an object:
 
 def __hash__(self):
@@ -23,7 +23,7 @@
 
 because a hash result must be a (short) Python int but it was always
 possible for ``id()`` to return a Python long. However, because ``id()``
- cuold return negative values before, on a 32-bit box an ``id()`` result
+ could return negative values before, on a 32-bit box an ``id()`` result
 was always usable as a hash value before this patch. That's no longer
 necessarily so.
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /