diff options
| author | Rapptz <[email protected]> | 2016-01-04 20:26:59 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2016-01-04 20:26:59 -0500 |
| commit | 97874293e2b281d2fcfa60623d0a3af3fa8bf168 (patch) | |
| tree | 3cd63bd9d6ac6cd4d1ead371a32166d54533bc28 | |
| parent | Use super() in classes that could be subclassed. (diff) | |
| download | discord.py-97874293e2b281d2fcfa60623d0a3af3fa8bf168.tar.xz discord.py-97874293e2b281d2fcfa60623d0a3af3fa8bf168.zip | |
Revert "Use super() in classes that could be subclassed."
This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2.
| -rw-r--r-- | discord/client.py | 1 | ||||
| -rw-r--r-- | discord/object.py | 1 | ||||
| -rw-r--r-- | discord/user.py | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py index f43fe1c2..bbad5ee4 100644 --- a/discord/client.py +++ b/discord/client.py @@ -105,7 +105,6 @@ class Client: """ def __init__(self, *, loop=None, **options): - super().__init__(loop, **options) self.ws = None self.token = None self.gateway = None diff --git a/discord/object.py b/discord/object.py index e96cdbf8..ebf28f0f 100644 --- a/discord/object.py +++ b/discord/object.py @@ -44,5 +44,4 @@ class Object: """ def __init__(self, id): - super().__init__(id) self.id = id diff --git a/discord/user.py b/discord/user.py index 9403b308..85e43ba4 100644 --- a/discord/user.py +++ b/discord/user.py @@ -56,7 +56,6 @@ class User: __slots__ = ['name', 'id', 'discriminator', 'avatar'] def __init__(self, **kwargs): - super().__init__(**kwargs) self.name = kwargs.get('username') self.id = kwargs.get('id') self.discriminator = kwargs.get('discriminator') |