parameters: (p)
return_statement: return split(p)[0]
docstring: Returns the directory component of a pathname
docstring_summary: Returns the directory component of a pathname
docstring_tokens: Returns the directory component of a pathname
function: def dirname(p):
      """Returns the directory component of a pathname"""
      return split(p)[0]
function_tokens: def dirname ( p ) : return split ( p ) [ 0 ]