Package lastfm :: Module base

[hide private]
[frames] | no frames]

# Source Code for Module lastfm.base

     1  #!/usr/bin/env python
     2  """Module containting the base class for all the classes in this package"""
     3
     4  __author__ = "Abhinav Sarkar <abhinav@abhinavsarkar.net>"
     5  __version__ = "0.2"
     6  __license__ = "GNU Lesser General Public License"
     7
     8 -class LastfmBase(object):
     9      """Base class for all the classes in this package"""
    10
    11 -    def __gt__(self, other):
    12          return not (self.__lt__(other) or self.__eq(other))
    13
    14 -    def __ne__(self, other):
    15          return not self.__eq__(other)
    16
    17 -    def __ge__(self, other):
    18          return not self.__lt__(other)
    19
    20 -    def __le__(self, other):
    21          return not self.__gt__(other)
    22