Remove __slots__ declaration from Resource class

It doesn't seem to have any noticeable performance benefit.
This commit is contained in:
dgelessus 2019-09-29 15:00:45 +02:00
parent 97c459bca7
commit fdd04c944b
1 changed files with 0 additions and 2 deletions

View File

@ -96,8 +96,6 @@ class ResourceAttrs(enum.Flag):
class Resource(object):
"""A single resource from a resource file."""
__slots__ = ("type", "id", "name", "attributes", "data_raw", "_compressed_info", "_data_decompressed")
type: bytes
id: int
name: typing.Optional[bytes]