repr for image
repr for image


Index: pyglet/image/__init__.py
===================================================================
--- pyglet/image/__init__.py	(revision 674)
+++ pyglet/image/__init__.py	(working copy)
@@ -262,6 +262,9 @@
         self.width = width
         self.height = height

+    def __repr__(self):
+        return '<%s %dx%d>' % (self.__class__.__name__, self.width, self.height)
+
     def _get_image_data(self):
         '''Retrieve an ImageData instance for this image.'''
         raise ImageException('Cannot retrieve image data for %r' % self)

gdkar/pyglet,Austin503/pyglet,qbektrix/pyglet,gdkar/pyglet,kmonsoor/pyglet,shaileshgoogler/pyglet,cledio66/pyglet,kmonsoor/pyglet,odyaka341/pyglet,shaileshgoogler/pyglet,mpasternak/michaldtz-fixes-518-522,arifgursel/pyglet,xshotD/pyglet,mpasternak/pyglet-fix-issue-552,cledio66/pyglet,mpasternak/michaldtz-fixes-518-522,google-code-export/pyglet,arifgursel/pyglet,qbektrix/pyglet,gdkar/pyglet,mpasternak/pyglet-fix-issue-552,arifgursel/pyglet,arifgursel/pyglet,mpasternak/pyglet-fix-issue-518-522,Austin503/pyglet,odyaka341/pyglet,Alwnikrotikz/pyglet,mpasternak/michaldtz-fix-552,xshotD/pyglet,mpasternak/michaldtz-fix-552,mpasternak/pyglet-fix-issue-518-522,google-code-export/pyglet,xshotD/pyglet,kmonsoor/pyglet,Austin503/pyglet,mpasternak/pyglet-fix-issue-552,Alwnikrotikz/pyglet,Alwnikrotikz/pyglet,google-code-export/pyglet,odyaka341/pyglet,xshotD/pyglet,mpasternak/michaldtz-fix-552,Alwnikrotikz/pyglet,gdkar/pyglet,odyaka341/pyglet,cledio66/pyglet,mpasternak/pyglet-fix-issue-552,odyaka341/pyglet,google-code-export/pyglet,arifgursel/pyglet,cledio66/pyglet,Austin503/pyglet,shaileshgoogler/pyglet,Austin503/pyglet,cledio66/pyglet,kmonsoor/pyglet,qbektrix/pyglet,xshotD/pyglet,qbektrix/pyglet,qbektrix/pyglet,gdkar/pyglet,Alwnikrotikz/pyglet,mpasternak/pyglet-fix-issue-518-522,mpasternak/michaldtz-fixes-518-522,mpasternak/michaldtz-fixes-518-522,shaileshgoogler/pyglet,mpasternak/michaldtz-fix-552,shaileshgoogler/pyglet,kmonsoor/pyglet,mpasternak/pyglet-fix-issue-518-522,google-code-export/pyglet