Changeset 5339:6ad91e679bd3 in livinglogic.python.xist

Show
Ignore:
Timestamp:
02/12/13 09:42:52 (7 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Use the real text in Text.repr().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r5338 r5339  
    357357 
    358358    def __repr__(self): 
    359         return "<{0.__class__.__module__}.{0.__class__.__qualname__} {0.location.code!r} at {1:#x}>".format(self, id(self)) 
     359        return "<{0.__class__.__module__}.{0.__class__.__qualname__} {1!r} at {2:#x}>".format(self, self.text(), id(self)) 
    360360 
    361361    def _str(self, level):