parameters: (path)
return_statement: return os.path.join(dirname, '.~'+basename)
docstring: Name of the intermediate file used in atomic writes.
  
      The .~ prefix will make Dropbox ignore the temporary file.
docstring_summary: Name of the intermediate file used in atomic writes.
docstring_tokens: Name of the intermediate file used in atomic writes .
function: def path_to_intermediate(path):
      '''Name of the intermediate file used in atomic writes.
  
      The .~ prefix will make Dropbox ignore the temporary file.'''
      dirname, basename = os.path.split(path)
      return os.path.join(dirname, '.~'+basename)
function_tokens: def path_to_intermediate ( path ) : dirname , basename = os . path . split ( path ) return os . path . join ( dirname , '.~' + basename )