parameters: (a, b)
return_statement: return end
docstring: Given two lists, returns the index of 1st element not common to both.
docstring_summary: Given two lists, returns the index of 1st element not common to both.
docstring_tokens: Given two lists returns the index of 1st element not common to both .
function: def _CommonPrefixLength(a, b):
    """Given two lists, returns the index of 1st element not common to both."""
    end = min(len(a), len(b))
    for i in range(end):
      if a[i] != b[i]:
        return i
    return end
function_tokens: def _CommonPrefixLength ( a , b ) : end = min ( len ( a ) , len ( b ) ) for i in range ( end ) : if a [ i ] != b [ i ] : return i return end