From dd88c8103e13f108a0fed51a82221fdf60f6a188 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 19 Jun 2016 01:36:19 +0300 Subject: add Pylint configuration & fix the warnings --- vk/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vk/user.py') diff --git a/vk/user.py b/vk/user.py index 736c4ba..00a1674 100644 --- a/vk/user.py +++ b/vk/user.py @@ -56,7 +56,7 @@ class User(Hashable, MutableMapping): return self.get_uid() == other.get_uid() #return self._fields == other._fields - def __hash__(self, fields=None): + def __hash__(self): return hash(self.get_uid()) def __getitem__(self, field): -- cgit v1.2.3