Source

pygame / test / sprite_test.py

Diff from to

test/sprite_test.py

             spr = self.sprite()
             spr._layer = lay
             self.LG.add(spr)
-            if not sprites.has_key(lay):
+            if lay not in sprites:
                 sprites[lay] = []
             sprites[lay].append(spr)