original_docstring: Takes a list of points (polygon) and returns a list of Triangles
          created by diagonalizing the polygon
docstring: Takes a list of points (polygon) and returns a list of Triangles
  created by diagonalizing the polygon
docstring_tokens: Takes a list of points ( polygon ) and returns a list of Triangles created by diagonalizing the polygon
code: def _polygon2triangles(self):
          """Takes a list of points (polygon) and returns a list of Triangles
          created by diagonalizing the polygon"""
          polygon = self._polygon
          common_point = polygon[0]
          return [Triangle((common_point, p, q))
                  for p, q in zip(polygon[1:], polygon[2:])]
code_tokens: def _polygon2triangles ( self ) : polygon = self . _polygon common_point = polygon [ 0 ] return [ Triangle ( ( common_point , p , q ) ) for p , q in zip ( polygon [ 1 : ] , polygon [ 2 : ] ) ]
short_docstring: Takes a list of points (polygon) and returns a list of Triangles
  created by diagonalizing the polygon
short_docstring_tokens: Takes a list of points ( polygon ) and returns a list of Triangles created by diagonalizing the polygon
comment: """Takes a list of points (polygon) and returns a list of Triangles
          created by diagonalizing the polygon"""