original_docstring: Return the signed area enclosed by a ring using the linear time
      algorithm. A value >= 0 indicates a counter-clockwise oriented ring.
      
docstring: Return the signed area enclosed by a ring using the linear time
  algorithm. A value >= 0 indicates a counter-clockwise oriented ring.
docstring_tokens: Return the signed area enclosed by a ring using the linear time algorithm . A value > = 0 indicates a counter - clockwise oriented ring .
code: def signed_area(coords):
      """Return the signed area enclosed by a ring using the linear time
      algorithm. A value >= 0 indicates a counter-clockwise oriented ring.
      """
      xs, ys = map(list, list(zip(*coords))[:2]) # ignore any z or m values
      xs.append(xs[1])
      ys.append(ys[1])
      return sum(xs[i]*(ys[i+1]-ys[i-1]) for i in range(1, len(coords)))/2.0
code_tokens: def signed_area ( coords ) : xs , ys = map ( list , list ( zip ( * coords ) ) [ : 2 ] ) xs . append ( xs [ 1 ] ) ys . append ( ys [ 1 ] ) return sum ( xs [ i ] * ( ys [ i + 1 ] - ys [ i - 1 ] ) for i in range ( 1 , len ( coords ) ) ) / 2.0
short_docstring: Return the signed area enclosed by a ring using the linear time
  algorithm.
short_docstring_tokens: Return the signed area enclosed by a ring using the linear time algorithm .
comment: """Return the signed area enclosed by a ring using the linear time
      algorithm. A value >= 0 indicates a counter-clockwise oriented ring.
      """$SEP$# ignore any z or m values
  