Add __slots__ where appropriate to data classes.

This commit is contained in:
Rapptz committed 2015-12-19 06:18:12 -05:00
1 parent 4fa5b50d2b
commit f1f0e169e4
10 files changed
+33 -12

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ from .member import Member
from .object import Object
import re
class Message(object):
class Message:
"""Represents a message from Discord.
There should be no need to create one of these manually.