dbapi.py
branchstable
changeset 7909 71c70bf482cf
parent 7879 9aae456abab5
child 7920 5146c63e8e34
child 7960 981d2a6d95be
--- a/dbapi.py	Tue Oct 04 13:58:57 2011 +0200
+++ b/dbapi.py	Tue Oct 04 13:59:12 2011 +0200
@@ -254,6 +254,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):