def _get_descending_key(gettime=time.time, getrandint=random.randint):
 now_descending = int(((_FUTURE_TIME - gettime()) * 100))
 tie_breaker = getrandint(0, 100)
 return ('%d%d' % (now_descending, tie_breaker))

def _get_descending_key ( gettime = time . time , getrandint = random . randint ) : now_descending = int ( ( ( _FUTURE_TIME - gettime ( ) ) * 100 ) ) tie_breaker = getrandint ( 0 , 100 ) return ( '%d%d' % ( now_descending , tie_breaker ) )
returns a key name lexically ordered by time descending .