[Zodb-checkins] CVS: Zope3/lib/python/ZODB - IConnection.py:1.1.2.3

Jeremy Hylton jeremy@zope.com
Mon, 11 Mar 2002 19:04:41 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	IConnection.py 
Log Message:
Get rid of self in argument list.  (It seems so natural to have itthere.)

Add getVersion() and close() to list.


=== Zope3/lib/python/ZODB/IConnection.py 1.1.2.2 => 1.1.2.3 ===
         """
 
-    def invalidate(self, oid):
+    def getVersion():
+        """Return the version that connection is using."""
+
+    def invalidate(oid):
         """Invalidate a particular oid
 
         This marks the oid as invalid, but doesn't actually invalidate
@@ -40,3 +43,5 @@
         transaction" is invalidated.
         """
         
+    def close():
+        # XXX