[Zodb-checkins] CVS: Zope2/lib/python/ZODB - MinPO.py:1.2
jeremy@digicool.com
jeremy@digicool.com
Tue, 8 May 2001 17:30:05 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB/tests
In directory korak:/tmp/cvs-serv16208/tests
Modified Files:
MinPO.py
Log Message:
Add a repr to MinPO
--- Updated File MinPO.py in package Zope2/lib/python/ZODB --
--- MinPO.py 2001/05/02 20:54:17 1.1
+++ MinPO.py 2001/05/08 21:30:04 1.2
@@ -8,3 +8,6 @@
def __cmp__(self, aMinPO):
return cmp(self.value, aMinPO.value)
+
+ def __repr__(self):
+ return "MinPO(%s)" % self.value