[Zodb-checkins] CVS: Zope/lib/python/ZODB - PersistentMapping.py:1.11

Jim Fulton jim@zope.com
Thu, 16 Aug 2001 13:25:41 -0400


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv28331

Modified Files:
	PersistentMapping.py 
Log Message:
Added __cmp__ from Greg Ward.


=== Zope/lib/python/ZODB/PersistentMapping.py 1.10 => 1.11 ===
         return map(lambda k, d=self: d[k], self.keys())
 
+    def __cmp__(self,other):
+        return cmp(self._container, other._container)
+