parameters: (head, list)
docstring: Add '/' suffixes to directories.
docstring_summary: Add '/' suffixes to directories.
docstring_tokens: Add / suffixes to directories .
function: def annotate(head, list):
      """Add '/' suffixes to directories."""
      for i in range(len(list)):
          if os.path.isdir(os.path.join(head, list[i])):
              list[i] = list[i] + '/'
function_tokens: def annotate ( head , list ) : for i in range ( len ( list ) ) : if os . path . isdir ( os . path . join ( head , list [ i ] ) ) : list [ i ] = list [ i ] + '/'