':calls: `PATCH /repos/:owner/:repo/labels/:name <http://developer.github.com/v3/issues/labels>`_
:param name: string
:param color: string
:rtype: None'

def edit(self, name, color):

    assert isinstance(name, (str, unicode)), name
    assert isinstance(color, (str, unicode)), color
    post_parameters = {'name': name, 'color': color}
    (headers, data) = self._requester.requestJsonAndCheck('PATCH', self.url, input=post_parameters)
    self._useAttributes(data)
