changeset 600:93cb9c1d2bb2

Update stray .iteritems to Python 3.
author Simon Cross <hodgestar@gmail.com>
date Sat, 14 Jan 2023 19:33:57 +0100
parents 03c0f1f5488c
children 915de6c7d342
files mamba/sprites.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mamba/sprites.py	Sat Jan 14 19:33:30 2023 +0100
+++ b/mamba/sprites.py	Sat Jan 14 19:33:57 2023 +0100
@@ -38,7 +38,7 @@
 
 def find_special_sprites():
     results = []
-    for cls_name, cls in globals().iteritems():
+    for cls_name, cls in globals().items():
         if isinstance(cls, type) and issubclass(cls, Sprite):
             if hasattr(cls, 'get_sprite_args'):
                 results.append((cls_name, cls))