diff pytouhou/vm/__init__.py @ 615:d1f0bb0b7a17

Don’t inherit explicitely from object, we are not on Python 2.7 anymore. :)
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 28 Mar 2015 21:40:51 +0100
parents d471b07ce4fd
children
line wrap: on
line diff
--- a/pytouhou/vm/__init__.py
+++ b/pytouhou/vm/__init__.py
@@ -3,7 +3,7 @@ from .msgrunner import MSGRunner
 from .eclrunner import ECLMainRunner
 
 
-class PythonMainRunner(object):
+class PythonMainRunner:
     def __init__(self, main, game):
         self.main = main
         self.game = game
@@ -12,7 +12,7 @@ class PythonMainRunner(object):
         self.main(self.game)
 
 
-class EnemyRunner(object):
+class EnemyRunner:
     def __init__(self, enemy, game, sub):
         self.enemy = enemy
         self.game = game