tuikit/core/coords.py
changeset 115 b4ff7392003a
parent 108 11dac45bfba4
child 119 dd91747504dd
--- a/tuikit/core/coords.py	Sun Feb 15 12:48:23 2015 +0100
+++ b/tuikit/core/coords.py	Sun Feb 15 12:52:46 2015 +0100
@@ -83,7 +83,7 @@
     # string representation
 
     def __repr__(self):
-        return '{0.__class__.__name__}(x={0.x},y={0.y})'.format(self)
+        return '{0.__class__.__name__}(x={0.x}, y={0.y})'.format(self)
 
     def immutable(self):
         return ImmutablePoint(*self)
@@ -136,7 +136,7 @@
         return (self.w, self.h)[key]
 
     def __repr__(self):
-        return '{0.__class__.__name__}(w={0.w},h={0.h})'.format(self)
+        return '{0.__class__.__name__}(w={0.w}, h={0.h})'.format(self)
 
     def update(self, *args, **kwargs):
         """Update size.
@@ -219,7 +219,7 @@
         return Rect(x, y, w, h)
 
     def __repr__(self):
-        return '{0.__class__.__name__}(x={0.x},y={0.y},w={0.w},h={0.h})'.format(self)
+        return '{0.__class__.__name__}(x={0.x}, y={0.y}, w={0.w}, h={0.h})'.format(self)
 
     def __contains__(self, point):
         """Test if point is positioned inside rectangle.