Beispiel #1
0
 def __str__(self):
     return inst2strepr(self, str, *self._attrs())
Beispiel #2
0
 def __str__(self):
     return inst2strepr(self, str, 'x', 'y', 'width', 'height')
Beispiel #3
0
 def __repr__(self):
     r = inst2strepr(self, repr, *self._attrs())
     return '<%s at %#x>' % (r, id(self))
Beispiel #4
0
 def __repr__(self):
     r = inst2strepr(self, repr, 'x', 'y', 'width', 'height')
     return '<%s at %#x>' % (r, id(self))