parameters: (*args)
return_statement: return rng
docstring: A range that can't generate ranges with a length of more than
      MAX_RANGE items.
docstring_summary: A range that can't generate ranges with a length of more than
      MAX_RANGE items.
docstring_tokens: A range that can t generate ranges with a length of more than MAX_RANGE items .
function: def safe_range(*args):
      """A range that can't generate ranges with a length of more than
      MAX_RANGE items.
      """
      rng = range(*args)
      if len(rng) > MAX_RANGE:
          raise OverflowError('range too big, maximum size for range is %d' %
                              MAX_RANGE)
      return rng
function_tokens: def safe_range ( * args ) : rng = range ( * args ) if len ( rng ) > MAX_RANGE : raise OverflowError ( 'range too big, maximum size for range is %d' % MAX_RANGE ) return rng