Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sprites.py
diff options
context:
space:
mode:
Diffstat (limited to 'sprites.py')
-rw-r--r--sprites.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sprites.py b/sprites.py
index a361ba0..0bdab1f 100644
--- a/sprites.py
+++ b/sprites.py
@@ -34,7 +34,7 @@ class Sprite manages individual sprites within the collection.
Example usage:
# Import the classes into your program.
- from sprites import Sprites Sprite
+ from sprites import Sprites, Sprite
# Create a new sprite collection for a gtk Drawing Area.
my_drawing_area = gtk.DrawingArea()
@@ -364,3 +364,4 @@ class Sprite:
except IndexError:
print "Index Error: %d %d" % (len(array), offset)
return (-1,-1,-1,-1)
+