simplify

Change of simplified.py

2:85ccbdf10533
simplified.py
     1.1 --- a/simplified.py	Sat Jul 08 22:59:43 2006 +0200
     1.2 +++ b/simplified.py	Sun Jul 09 13:45:27 2006 +0200
     1.3 @@ -42,6 +42,8 @@
     1.4      def __repr__(self):
     1.5          if hasattr(self, "name"):
     1.6              return "%s '%s' (at %x)" % (self.__class__, self.name, id(self))
     1.7 +        if hasattr(self, "index"):
     1.8 +            return "%s (%d) (at %x)" % (self.__class__, self.index, id(self))
     1.9          elif hasattr(self, "value"):
    1.10              return "%s %s (at %x)" % (self.__class__, repr(self.value), id(self))
    1.11          elif hasattr(self, "ref"):