comparison pytouhou/formats/thtx.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 9e2cbb2c2c64
children
comparison
equal deleted inserted replaced
614:2cf518129725 615:d1f0bb0b7a17
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details. 12 ## GNU General Public License for more details.
13 ## 13 ##
14 14
15 15
16 class Texture(object): 16 class Texture:
17 def __init__(self, width, height, fmt, data): 17 def __init__(self, width, height, fmt, data):
18 self.width = width 18 self.width = width
19 self.height = height 19 self.height = height
20 self.fmt = fmt 20 self.fmt = fmt
21 self.data = data 21 self.data = data