original_docstring: Calculates the distance between P1 and P2.
docstring: Calculates the distance between P1 and P2.
docstring_tokens: Calculates the distance between P1 and P2 .
code: def pointDistance( P1, P2 ):
  	"""Calculates the distance between P1 and P2."""
  	x1, y1 = P1.x, P1.y
  	x2, y2 = P2.x, P2.y
  	dist = ( ( float(x2) - float(x1) ) ** 2 + ( float(y2) - float(y1) ) **2 ) ** 0.5
  	return dist
code_tokens: def pointDistance ( P1 , P2 ) : x1 , y1 = P1 . x , P1 . y x2 , y2 = P2 . x , P2 . y dist = ( ( float ( x2 ) - float ( x1 ) ) ** 2 + ( float ( y2 ) - float ( y1 ) ) ** 2 ) ** 0.5 return dist
short_docstring: Calculates the distance between P1 and P2.
short_docstring_tokens: Calculates the distance between P1 and P2 .
comment: """Calculates the distance between P1 and P2."""