Commits

Luke Plant committed c678791

Tweaked repr mixin to exclude docstring for neatness

Comments (0)

Files changed (1)

semanticeditor/utils/mixins.py

     """
     def __repr__(self):
         return u"<%s %s>" % (self.__class__.__name__,
-                             u' '.join(u"%s=%r" % (k,v) for (k,v) in sorted(self.__dict__.iteritems())))
+                             u' '.join(u"%s=%r" % (k,v) for (k,v) in sorted(self.__dict__.iteritems())
+                                       if k != '__doc__'))
 
 def _test():
     import doctest