parameters: (f)
return_statement: return os.path.basename(f).rpartition('.')[0]
docstring: returns the base name of a file with the last extension stripped
docstring_summary: returns the base name of a file with the last extension stripped
docstring_tokens: returns the base name of a file with the last extension stripped
function: def idl_basename(f):
      """returns the base name of a file with the last extension stripped"""
      return os.path.basename(f).rpartition('.')[0]
function_tokens: def idl_basename ( f ) : return os . path . basename ( f ) . rpartition ( '.' ) [ 0 ]