parameters: (*path_parts)
return_statement: return path_sep.join([part.rstrip(path_separators)
                            for part in path_parts if part])
docstring: Replacement for os.path.join().
docstring_summary: Replacement for os.path.join().
docstring_tokens: Replacement for os . path . join () .
function: def _path_join(*path_parts):
      """Replacement for os.path.join()."""
      return path_sep.join([part.rstrip(path_separators)
                            for part in path_parts if part])
function_tokens: def _path_join ( * path_parts ) : return path_sep . join ( [ part . rstrip ( path_separators ) for part in path_parts if part ] )