parameters: (m)
return_statement: return os.path.commonprefix(rev_m)[::-1]
docstring: Given a list of pathnames, returns the longest common tailing component
docstring_summary: Given a list of pathnames, returns the longest common tailing component
docstring_tokens: Given a list of pathnames returns the longest common tailing component
function: def commonsuffix(m):
      "Given a list of pathnames, returns the longest common tailing component"
      rev_m = [s[::-1] for s in m]
      return os.path.commonprefix(rev_m)[::-1]
function_tokens: def commonsuffix ( m ) : rev_m = [ s [ : : - 1 ] for s in m ] return os . path . commonprefix ( rev_m ) [ : : - 1 ]