1. Armin Rigo
  2. cpython-withatomic

Commits

Tim Peters  committed b31c84b

Typo repair.

  • Participants
  • Parent commits 65f7efd
  • Branches 2.2

Comments (0)

Files changed (1)

File Misc/NEWS

View file
   for new-style class instances.
 
 - Backport SF 742860: new, improved __delitem__ for WeakKeyDictionary.
-  This old __delitem__ wasn't threadsafe, was very inefficient (expected
+  The old __delitem__ wasn't threadsafe, was very inefficient (expected
   time O(len(dict)) instead of O(1)), and could raise a spurious
   RuntimeError if another thread mutated the dict during __delitem__, or if
   a comparison function mutated it.  It also neglected to raise KeyError
   whole set of dict keys instead of computing the key's hash code to
   narrow the search to those keys with the same hash code.  All of these
   are considered to be bugs.  A new implementation of __delitem__ repairs
-  all  that, but note that fixing these bugs may change visible behavior
+  all that, but note that fixing these bugs may change visible behavior
   in code relying (whether intentionally or accidentally) on old behavior.
 
 - RPM spec file update from Sean Reifschneider.