Decrease the value at key ``name`` by ``amount``. If no key exists, the value
        will be initialized as 0 - ``amount`` .

        Like **Redis.DECR**

        :param string name: the key name
        :param int amount: decrements
        :return: the integer value at key ``name``
        :rtype: int

        >>> ssdb.decr('set_count', 3)
        7
        >>> ssdb.decr('set_count', 1)
        6
        >>> ssdb.decr('temp_count', 42)
        -42

def decr(self, name, amount=1):
        """
        Decrease the value at key ``name`` by ``amount``. If no key exists, the value
        will be initialized as 0 - ``amount`` .

        Like **Redis.DECR**

        :param string name: the key name
        :param int amount: decrements
        :return: the integer value at key ``name``
        :rtype: int

        >>> ssdb.decr('set_count', 3)
        7
        >>> ssdb.decr('set_count', 1)
        6
        >>> ssdb.decr('temp_count', 42)
        -42                
        """                        
        amount = get_positive_integer('amount', amount)
        return self.execute_command('decr', name, amount)