diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-14 16:25:09 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-07-14 16:25:09 +0200 |
commit | 20ebea1c89a00187db390443ed284e0974ff7222 (patch) | |
tree | e276ce333272f8f6e3a74c054e99c4b3ff14c7ce /poezio/contact.py | |
parent | 3acfd83c243fe0ed0ec0b502aaabf46f9dd3aec3 (diff) | |
download | poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.gz poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.bz2 poezio-20ebea1c89a00187db390443ed284e0974ff7222.tar.xz poezio-20ebea1c89a00187db390443ed284e0974ff7222.zip |
Stop making classes inherit from object.
Diffstat (limited to 'poezio/contact.py')
-rw-r--r-- | poezio/contact.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/contact.py b/poezio/contact.py index 4b233088..b07be6f6 100644 --- a/poezio/contact.py +++ b/poezio/contact.py @@ -16,7 +16,7 @@ from poezio.common import safeJID from collections import defaultdict -class Resource(object): +class Resource: """ Defines a roster item. It's a precise resource. @@ -54,7 +54,7 @@ class Resource(object): return self.jid == value.jid and self._data == value._data -class Contact(object): +class Contact: """ This a way to gather multiple resources from the same bare JID. This class contains zero or more Resource object and useful methods |