def get_release(self, id):
if isinstance(id, int):<EOL><INDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT:GET>",<EOL>self.url + "<STR_LIT>" + str(id)<EOL>)<EOL>return github.GitRelease.GitRelease(self._requester, headers, data, completed=True)<EOL><DEDENT>elif isinstance(id, (str, unicode)):<EOL><INDENT>headers, data = self._requester.requestJsonAndCheck(<EOL>"<STR_LIT:GET>",<EOL>self.url + "<STR_LIT>" + id<EOL>)<EOL>return github.GitRelease.GitRelease(self._requester, headers, data, completed=True)<EOL><DEDENT>
:calls: `GET /repos/:owner/:repo/releases/:id <https://developer.github.com/v3/repos/releases/#get-a-single-release>`_
:param id: int (release id), str (tag name)
:rtype: None or :class:`github.GitRelease.GitRelease`