original_docstring: Check if point is inside the polygon
  
          The right and bottom edges are not considered part of the area
docstring: Check if point is inside the polygon
  The right and bottom edges are not considered part of the area
docstring_tokens: Check if point is inside the polygon The right and bottom edges are not considered part of the area
code: def surrounds(self, point):
          """Check if point is inside the polygon
  
          The right and bottom edges are not considered part of the area"""
          print(point)
          x, y = point
          crossing = 0
          for line in self.line_segments():
              if line[0][0] == line[1][0] > x:  # vertical
                  ys = sorted((line[0][1], line[1][1], y))
                  if y == ys[1] and y != ys[2]:
                      crossing += 1
          return crossing % 2 == 1
code_tokens: def surrounds ( self , point ) : print ( point ) x , y = point crossing = 0 for line in self . line_segments ( ) : if line [ 0 ] [ 0 ] == line [ 1 ] [ 0 ] > x : ys = sorted ( ( line [ 0 ] [ 1 ] , line [ 1 ] [ 1 ] , y ) ) if y == ys [ 1 ] and y != ys [ 2 ] : crossing += 1 return crossing % 2 == 1
short_docstring: Check if point is inside the polygon
  The right and bottom edges are not considered part of the area
short_docstring_tokens: Check if point is inside the polygon The right and bottom edges are not considered part of the area
comment: """Check if point is inside the polygon
  
          The right and bottom edges are not considered part of the area"""$SEP$# vertical