Broken Screen.__repr__
@@ -158,7 +158,7 @@ class Screen:
"""Height of the screen, in pixels."""
def __repr__(self):
- return '%s(x=%d, y=%d, width=%d, height=%d)' % self.__class__.__name__, self.x, self.y, self.width, self.height
+ return '{}(x={}, y={}, width={}, height={})'.format(self.__class__.__name__, self.x, self.y, self.width, self.height)
def get_best_config(self, template=None):
"""Get the best available GL config.
