dbapi.py
changeset 7920 5146c63e8e34
parent 7894 ad0eeb0f7a8d
parent 7909 71c70bf482cf
child 7962 38ce8b8a980f
--- a/dbapi.py	Fri Oct 07 11:56:04 2011 +0200
+++ b/dbapi.py	Fri Oct 07 11:59:20 2011 +0200
@@ -273,6 +273,8 @@
     def anonymous_session(self):
         return not self.cnx or self.cnx.anonymous_connection
 
+    def __repr__(self):
+        return '<DBAPISession %r>' % self.sessionid
 
 class DBAPIRequest(RequestSessionBase):