[pypy-svn] r7504 - pypy/trunk/src/pypy/translator/tool/pygame

mgedmin at codespeak.net mgedmin at codespeak.net
Sat Nov 20 12:55:47 CET 2004


Author: mgedmin
Date: Sat Nov 20 12:55:46 2004
New Revision: 7504

Modified:
   pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py
Log:
Big oops.



Modified: pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py
==============================================================================
--- pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py	(original)
+++ pypy/trunk/src/pypy/translator/tool/pygame/drawgraph.py	Sat Nov 20 12:55:46 2004
@@ -282,12 +282,12 @@
         return (-self.ofsx, -self.ofsy, self.width, self.height)
 
     def visible(self, x1, y1, x2, y2):
-        "Is any part of the box visible (i.e. within the bounding box)?
+        """Is any part of the box visible (i.e. within the bounding box)?
 
         We have to perform clipping ourselves because with big graphs the
         coordinates may sometimes become longs and cause OverflowErrors
         within pygame.
-        "
+        """
         return (x1 < self.width-self.ofsx and x2 > -self.ofsx and
                 y1 < self.height-self.ofsy and y2 > -self.ofsy)
 



More information about the Pypy-commit mailing list