parameters: (self, a, b)
return_statement: return math.hypot(a[0] - b[0], a[1] - b[1])
docstring: Returns the distance between positions (x-y tuples) a and b.
docstring_summary: Returns the distance between positions (x-y tuples) a and b.
docstring_tokens: Returns the distance between positions ( x - y tuples ) a and b .
function: def distance(self, a, b):
          """
          Returns the distance between positions (x-y tuples) a and b.
          """
          return math.hypot(a[0] - b[0], a[1] - b[1])
function_tokens: def distance ( self , a , b ) : return math . hypot ( a [ 0 ] - b [ 0 ] , a [ 1 ] - b [ 1 ] )