parameters: (view)
return_statement: return map(lambda p: get_location_from_position(view, p), (region.begin(), region.end()))
docstring: Returns a tuple of Location objects representing the (start, end) of a region.
docstring_summary: Returns a tuple of Location objects representing the (start, end) of a region.
docstring_tokens: Returns a tuple of Location objects representing the ( start end ) of a region .
function: def get_start_and_end_from_view(view):
      """Returns a tuple of Location objects representing the (start, end) of a region."""
      region = view.sel()[0]
      return map(lambda p: get_location_from_position(view, p), (region.begin(), region.end()))
function_tokens: def get_start_and_end_from_view ( view ) : region = view . sel ( ) [ 0 ] return map ( lambda p : get_location_from_position ( view , p ) , ( region . begin ( ) , region . end ( ) ) )