':calls: `DELETE /repos/:owner/:repo/collaborators/:user <http://developer.github.com/v3/repos/collaborators>`_
:param collaborator: string or :class:`github.NamedUser.NamedUser`
:rtype: None'

def remove_from_collaborators(self, collaborator):

    assert (isinstance(collaborator, github.NamedUser.NamedUser) or isinstance(collaborator, (str, unicode))), collaborator
    if isinstance(collaborator, github.NamedUser.NamedUser):
        collaborator = collaborator._identity
    (headers, data) = self._requester.requestJsonAndCheck('DELETE', ((self.url + '/collaborators/') + collaborator))
