Logo Search packages:      
Sourcecode: matplotlib version File versions

def enthought::traits::ui::undo::ListUndoItem::__repr__ (   self  ) 

Returns a 'pretty print' form of the object.

Definition at line 294 of file undo.py.

00294                          :
        """ Returns a 'pretty print' form of the object.
        """
        return 'undo( %s.%s[%d:%d] = %s )' % (
                self.object.__class__.__name__, self.name, self.index,
                self.index + len( self.removed ), self.added )

#-------------------------------------------------------------------------------
#  'UndoHistory' class:
#-------------------------------------------------------------------------------

class UndoHistory ( HasStrictTraits ):


Generated by  Doxygen 1.6.0   Back to index