def delete_file(self, path, message, sha,<EOL>branch=github.GithubObject.NotSet,<EOL>committer=github.GithubObject.NotSet,<EOL>author=github.GithubObject.NotSet):
assert isinstance(path, (str, unicode)),'<STR_LIT>'<EOL>assert isinstance(message, (str, unicode)),'<STR_LIT>'<EOL>assert isinstance(sha, (str, unicode)),'<STR_LIT>'<EOL>assert branch is github.GithubObject.NotSetor isinstance(branch, (str, unicode)),'<STR_LIT>'<EOL>assert author is github.GithubObject.NotSetor isinstance(author, github.InputGitAuthor),'<STR_LIT>'<EOL>assert committer is github.GithubObject.NotSetor isinstance(committer, github.InputGitAuthor),'<STR_LIT>'<EOL>url_parameters = {'<STR_LIT:message>': message, '<STR_LIT>': sha}<EOL>if branch is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters['<STR_LIT>'] = branch<EOL><DEDENT>if author is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = author._identity<EOL><DEDENT>if committer is not github.GithubObject.NotSet:<EOL><INDENT>url_parameters["<STR_LIT>"] = committer._identity<EOL><DEDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.url + "<STR_LIT>" + urllib.quote(path),<EOL>input=url_parameters<EOL>)<EOL>return {'<STR_LIT>': github.Commit.Commit(self._requester, headers, data["<STR_LIT>"], completed=True),<EOL>'<STR_LIT:content>': github.GithubObject.NotSet}<EOL>
This method deletes a file in a repository

        :calls: `DELETE /repos/:owner/:repo/contents/:path <https://developer.github.com/v3/repos/contents/#delete-a-file>`_
        :param path: string, Required. The content path.
        :param message: string, Required. The commit message.
        :param sha: string, Required. The blob SHA of the file being replaced.
        :param branch: string. The branch name. Default: the repository’s default branch (usually master)
        :param committer: InputGitAuthor, (optional), if no information is given the authenticated user's information will be used. You must specify both a name and email.
        :param author: InputGitAuthor, (optional), if omitted this will be filled in with committer information. If passed, you must specify both a name and email.
        :rtype: {
            'content': :class:`null <github.GithubObject.NotSet>`:,
            'commit': :class:`Commit <github.Commit.Commit>`}