parameters: (self, filename)
docstring: Source control edit of a file. For Mercurial, just make sure it's
          writable.
docstring_summary: Source control edit of a file. For Mercurial, just make sure it's
          writable.
docstring_tokens: Source control edit of a file . For Mercurial just make sure it s writable .
function: def edit(self, filename):
          '''
          Source control edit of a file. For Mercurial, just make sure it's
          writable.
          '''
          if not(os.stat(filename).st_mode & stat.S_IWRITE):
              os.chmod(filename, stat.S_IWRITE)
function_tokens: def edit ( self , filename ) : if not ( os . stat ( filename ) . st_mode & stat . S_IWRITE ) : os . chmod ( filename , stat . S_IWRITE )