def create_fork(self, repo):
assert isinstance(repo, github.Repository.Repository), repo<EOL>url_parameters = {<EOL>"<STR_LIT>": self.login,<EOL>}<EOL>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT:POST>",<EOL>"<STR_LIT>" + repo.owner.login + "<STR_LIT:/>" + repo.name + "<STR_LIT>",<EOL>parameters=url_parameters<EOL>)<EOL>return github.Repository.Repository(self._requester, headers, data, completed=True)<EOL>
:calls: `POST /repos/:owner/:repo/forks <http://developer.github.com/v3/repos/forks>`_
:param repo: :class:`github.Repository.Repository`
:rtype: :class:`github.Repository.Repository`