def edit(self, title=github.GithubObject.NotSet, body=github.GithubObject.NotSet, assignee=github.GithubObject.NotSet, state=github.GithubObject.NotSet, milestone=github.GithubObject.NotSet, labels=github.GithubObject.NotSet, assignees=github.GithubObject.NotSet):
assert title is github.GithubObject.NotSet or isinstance(title, (str, unicode)), title<EOL>assert body is github.GithubObject.NotSet or isinstance(body, (str, unicode)), body<EOL>assert assignee is github.GithubObject.NotSet or assignee is None or isinstance(assignee, github.NamedUser.NamedUser) or isinstance(assignee, (str, unicode)), assignee<EOL>assert assignees is github.GithubObject.NotSet or all(isinstance(element, github.NamedUser.NamedUser) or isinstance(element, (str, unicode)) for element in assignees), assignees<EOL>assert state is github.GithubObject.NotSet or isinstance(state, (str, unicode)), state<EOL>assert milestone is github.GithubObject.NotSet or milestone is None or isinstance(milestone, github.Milestone.Milestone), milestone<EOL>assert labels is github.GithubObject.NotSet or all(isinstance(element, (str, unicode)) for element in labels), labels<EOL>post_parameters = dict()<EOL>if title is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT:title>"] = title<EOL><DEDENT>if body is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT:body>"] = body<EOL><DEDENT>if assignee is not github.GithubObject.NotSet:<EOL><INDENT>if isinstance(assignee, (str, unicode)):<EOL><INDENT>post_parameters["<STR_LIT>"] = assignee<EOL><DEDENT>else:<EOL><INDENT>post_parameters["<STR_LIT>"] = assignee._identity if assignee else '<STR_LIT>'<EOL><DEDENT><DEDENT>if assignees is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = [element._identity if isinstance(element, github.NamedUser.NamedUser) else element for element in assignees]<EOL><DEDENT>if state is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT:state>"] = state<EOL><DEDENT>if milestone is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = milestone._identity if milestone else '<STR_LIT>'<EOL><DEDENT>if labels is not github.GithubObject.NotSet:<EOL><INDENT>post_parameters["<STR_LIT>"] = labels<EOL><DEDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT>",<EOL>self.url,<EOL>input=post_parameters<EOL>)<EOL>self._useAttributes(data)<EOL>
:calls: `PATCH /repos/:owner/:repo/issues/:number <http://developer.github.com/v3/issues>`_
:param title: string
:param body: string
:param assignee: string or :class:`github.NamedUser.NamedUser` or None
:param assignees: list (of string or :class:`github.NamedUser.NamedUser`)
:param state: string
:param milestone: :class:`github.Milestone.Milestone` or None
:param labels: list of string
:rtype: None