diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:36:19 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-06-19 01:36:19 +0300 |
commit | dd88c8103e13f108a0fed51a82221fdf60f6a188 (patch) | |
tree | 14c0038cd71f9e4a8208278b4e9b5f67e1a91c47 /vk/user.py | |
parent | remove commented out code (diff) | |
download | vk-scripts-dd88c8103e13f108a0fed51a82221fdf60f6a188.tar.gz vk-scripts-dd88c8103e13f108a0fed51a82221fdf60f6a188.zip |
add Pylint configuration & fix the warnings
Diffstat (limited to 'vk/user.py')
-rw-r--r-- | vk/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |