From 4d9c209f434726754fe903ba0631af8a9f1afd9c Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 6 Aug 2016 23:32:42 +1000 Subject: [PATCH] Removed entire __new__() method `SteamUser` no longer inherits from `int`, and is therefor redundant. --- steam/client/user.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/steam/client/user.py b/steam/client/user.py index c5f1031..6bba4cb 100644 --- a/steam/client/user.py +++ b/steam/client/user.py @@ -13,9 +13,6 @@ class SteamUser(object): steam_id = SteamID() relationship = EFriendRelationship.No #: friendship status - def __new__(cls, steam_id, *args, **kwargs): - return super(SteamUser, cls).__new__(cls) # removed "steam_id" arg from __new__() - def __init__(self, steam_id, steam): self._pstate_ready = Event() self._steam = steam