diff pytouhou/resource/loader.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 e15672733c93
children d18c0bf11138
line wrap: on
line diff
--- a/pytouhou/resource/loader.py
+++ b/pytouhou/resource/loader.py
@@ -33,7 +33,7 @@ logger = get_logger(__name__)
 
 
 
-class Directory(object):
+class Directory:
     def __init__(self, path):
         self.path = path
 
@@ -59,7 +59,7 @@ class Directory(object):
 
 
 
-class ArchiveDescription(object):
+class ArchiveDescription:
     _formats = {b'PBG3': PBG3}
 
     def __init__(self, path, format_class, file_list=None):
@@ -93,7 +93,7 @@ class ArchiveDescription(object):
 
 
 
-class Loader(object):
+class Loader:
     def __init__(self, game_dir=None):
         self.exe_files = []
         self.game_dir = game_dir