appobject.py
branchstable
changeset 6870 658039c5eeac
parent 5901 782b27eaf97a
child 7083 b8e35cde46e9
--- a/appobject.py	Thu Jan 20 13:16:30 2011 +0100
+++ b/appobject.py	Fri Jan 21 12:51:58 2011 +0100
@@ -214,6 +214,9 @@
         return NotImplementedError("selector %s must implement its logic "
                                    "in its __call__ method" % self.__class__)
 
+    def __repr__(self):
+        return u'<Selector %s at %x>' % (self.__class__.__name__, id(self))
+
 
 class MultiSelector(Selector):
     """base class for compound selector classes"""