]> granicus.if.org Git - python/commitdiff
Typo repair.
authorTim Peters <tim.peters@gmail.com>
Tue, 11 Apr 2006 01:47:17 +0000 (01:47 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 11 Apr 2006 01:47:17 +0000 (01:47 +0000)
Misc/NEWS

index e3cfd8635e00ebe42d106fe88a5c5305b7d51a3e..7418daa1739b8a3d486c4d2c5fb55ac8aff7485d 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -15,7 +15,7 @@ Core and builtins
 - 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 @@ Core and builtins
 
   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.