Use proper __class__ cell for super

This commit is contained in:
Vgr E. Barry 2016-12-19 12:55:23 -05:00
parent e7eabba791
commit 081f909260

View File

@ -175,7 +175,7 @@ class User(IRCContext):
def __new__(cls, cli, nick, ident, host, realname, account):
self = super().__new__(cls)
super(User, self).__init__(nick, cli)
super(__class__, self).__init__(nick, cli)
self._ident = ident
self._host = host