#NEWLINE# def range( self , low , high , with_scores = False , desc = False , reverse = False ) : #NEWLINE# #INDENT# '\n        Return a range of items between ``low`` and ``high``. By\n        default scores will not be included, but this can be controlled\n        via the ``with_scores`` parameter.\n\n        :param low: Lower bound.\n        :param high: Upper bound.\n        :param bool with_scores: Whether the range should include the\n            scores along with the items.\n        :param bool desc: Whether to sort the results descendingly.\n        :param bool reverse: Whether to select the range in reverse.\n        ' #NEWLINE# if reverse : #NEWLINE# #INDENT# return self . database . zrevrange ( self . key , low , high , with_scores ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . database . zrange ( self . key , low , high , desc , with_scores )