docs(repository): correct releases link (#1514)

This commit is contained in:
Max Wittig
2020-05-11 08:15:06 +08:00
committed by GitHub
parent b5737d4103
commit f7cc534d50
+1 -1
View File
@@ -2931,7 +2931,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
def get_releases(self):
"""
:calls: `GET /repos/:owner/:repo/releases <http://developer.github.com/v3/repos>`_
:calls: `GET /repos/:owner/:repo/releases <https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository`_
:rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRelease.GitRelease`
"""
return github.PaginatedList.PaginatedList(