diff pytouhou/vm/msgrunner.py @ 590:e15672733c93

Switch to Python 3.x instead of 2.7.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 30 Sep 2014 17:14:24 +0200
parents e35a083d4208
children d18c0bf11138
line wrap: on
line diff
--- a/pytouhou/vm/msgrunner.py
+++ b/pytouhou/vm/msgrunner.py
@@ -21,8 +21,7 @@ from pytouhou.game import NextStage
 logger = get_logger(__name__)
 
 
-class MSGRunner(object):
-    __metaclass__ = MetaRegistry
+class MSGRunner(metaclass=MetaRegistry):
     __slots__ = ('_msg', '_game', 'frame', 'sleep_time', 'allow_skip',
                  'skipping', 'frozen', 'ended', 'instruction_pointer',
                  'handlers')