~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_static_tuple_py.py

Change the repr to print out 'StaticTuple'

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
        # already handled in __new__.
43
43
        tuple.__init__(self)
44
44
 
45
 
    # def __repr__(self):
46
 
    #     return tuple.__repr__(self)
 
45
    def __repr__(self):
 
46
        return '%s%s' % (self.__class__.__name__, tuple.__repr__(self))
47
47
 
48
48
    def as_tuple(self):
49
49
        return self