Slots use tuples instead now.

This commit is contained in:
Rapptz
2017-01-03 09:51:50 -05:00
parent b9dafe375f
commit e4b16851bf
7 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ class User:
Specifies if the user is a bot account.
"""
__slots__ = ['name', 'id', 'discriminator', 'avatar', 'bot', '_state']
__slots__ = ('name', 'id', 'discriminator', 'avatar', 'bot', '_state')
def __init__(self, *, state, data):
self._state = state