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

@ -353,7 +353,7 @@ class PrivateChannel(Hashable):
:attr:`ChannelType.group` then this is always ``None``.
"""
__slots__ = ['id', 'recipients', 'type', 'owner', 'icon', 'name', 'me', '_state']
__slots__ = ('id', 'recipients', 'type', 'owner', 'icon', 'name', 'me', '_state')
def __init__(self, *, me, state, data):
self._state = state