':calls: `PATCH /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/keys>`_
:param title: string
:param key: string
:rtype: None'

def edit(self, title=github.GithubObject.NotSet, key=github.GithubObject.NotSet):

    assert ((title is github.GithubObject.NotSet) or isinstance(title, (str, unicode))), title
    assert ((key is github.GithubObject.NotSet) or isinstance(key, (str, unicode))), key
    post_parameters = dict()
    if (title is not github.GithubObject.NotSet):
        post_parameters['title'] = title
    if (key is not github.GithubObject.NotSet):
        post_parameters['key'] = key
    (headers, data) = self._requester.requestJsonAndCheck('PATCH', self.__customUrl, input=post_parameters)
    self._useAttributes(data)
