':calls: `POST /repos/:owner/:repo/forks <http://developer.github.com/v3/repos/forks>`_
:param repo: :class:`github.Repository.Repository`
:rtype: :class:`github.Repository.Repository`'

def create_fork(self, repo):

    assert isinstance(repo, github.Repository.Repository), repo
    url_parameters = {'org': self.login}
    (headers, data) = self._requester.requestJsonAndCheck('POST', (((('/repos/' + repo.owner.login) + '/') + repo.name) + '/forks'), parameters=url_parameters)
    return github.Repository.Repository(self._requester, headers, data, completed=True)
