From 97874293e2b281d2fcfa60623d0a3af3fa8bf168 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 4 Jan 2016 20:26:59 -0500 Subject: [PATCH] Revert "Use super() in classes that could be subclassed." This reverts commit 948f565b430d80f782d0b7c264cc0b27aa1ec0b2. --- discord/client.py | 1 - discord/object.py | 1 - discord/user.py | 1 - 3 files changed, 3 deletions(-) diff --git a/discord/client.py b/discord/client.py index f43fe1c24..bbad5ee4a 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 e96cdbf89..ebf28f0f1 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 9403b3084..85e43ba46 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')