[Checkins] SVN: relstorage/trunk/relstorage/adapters/interfaces.py fixed interface signatures

Shane Hathaway shane at hathawaymix.org
Thu Oct 1 21:31:18 EDT 2009


Log message for revision 104720:
  fixed interface signatures

Changed:
  U   relstorage/trunk/relstorage/adapters/interfaces.py

-=-
Modified: relstorage/trunk/relstorage/adapters/interfaces.py
===================================================================
--- relstorage/trunk/relstorage/adapters/interfaces.py	2009-10-01 21:55:42 UTC (rev 104719)
+++ relstorage/trunk/relstorage/adapters/interfaces.py	2009-10-02 01:31:17 UTC (rev 104720)
@@ -32,15 +32,15 @@
     stats = Attribute("An IStats")
     txncontrol = Attribute("An ITransactionControl")
 
-    def new_instance(self):
+    def new_instance():
         """Return an instance for use by another RelStorage instance.
 
         Adapters that are stateless can simply return self.  Adapters
         that have mutable state must make a clone and return it.
         """
 
-    def __str__(self):
-        """A short description of the adapter"""
+    def __str__():
+        """Return a short description of the adapter"""
 
 
 class IConnectionManager(Interface):



More information about the checkins mailing list