':calls: `PUT /repos/:owner/:repo/issues/:number/labels <http://developer.github.com/v3/issues/labels>`_
:param label: :class:`github.Label.Label`
:rtype: None'

def set_labels(self, *labels):

    assert all((isinstance(element, (github.Label.Label, str, unicode)) for element in labels)), labels
    post_parameters = [(label.name if isinstance(label, github.Label.Label) else label) for label in labels]
    (headers, data) = self._requester.requestJsonAndCheck('PUT', (self.url + '/labels'), input=post_parameters)
