Slots use tuples instead now.

This commit is contained in:
Rapptz
2016-10-11 00:57:41 -04:00
parent b9dafe375f
commit e4b16851bf
7 changed files with 8 additions and 8 deletions

View File

@@ -51,7 +51,7 @@ class Game:
The type of game being played. 1 indicates "Streaming".
"""
__slots__ = ['name', 'type', 'url']
__slots__ = ('name', 'type', 'url')
def __init__(self, **kwargs):
self.name = kwargs.get('name')