[pypy-svn] r23406 - pypy/dist/pypy/tool/algo

arigo at codespeak.net arigo at codespeak.net
Thu Feb 16 14:59:33 CET 2006


Author: arigo
Date: Thu Feb 16 14:59:31 2006
New Revision: 23406

Modified:
   pypy/dist/pypy/tool/algo/unionref.py
Log:
Typo.  That's what you get with incomplete tests.


Modified: pypy/dist/pypy/tool/algo/unionref.py
==============================================================================
--- pypy/dist/pypy/tool/algo/unionref.py	(original)
+++ pypy/dist/pypy/tool/algo/unionref.py	Thu Feb 16 14:59:31 2006
@@ -100,7 +100,7 @@
         self._data[key1] = self._data[key1].merge(self._data[key2], union)
 
     def copy(self):
-        result = UnionDictionary()
+        result = UnionDict()
         newrefs = {}
         for key, valueref in self._data.iteritems():
             valueref = valueref._findrep()
@@ -112,7 +112,7 @@
         return result
 
     def __repr__(self):
-        return "<UnionDictionary at %s>" % id(self)
+        return "<UnionDict at %s>" % id(self)
 
     def __getitem__(self, key):
         return self._data[key]()



More information about the Pypy-commit mailing list