Fix a few docs error

This commit is contained in:
Wan Liuyang
2018-08-20 16:07:36 +08:00
parent 080d807552
commit 310d0733ee
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -6,5 +6,4 @@ PyGithub
introduction
reference
changes
contributing
changes
+2 -2
View File
@@ -2176,7 +2176,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
def get_source_import(self):
"""
:calls: `GET /repos/:owner/:repo/import https://developer.github.com/v3/migration/source_imports/#get-import-progress`_
:calls: `GET /repos/:owner/:repo/import <https://developer.github.com/v3/migration/source_imports/#get-import-progress>`_
:rtype: :class:`github.SourceImport.SourceImport`
"""
import_header = {"Accept": "application/vnd.github.barred-rock-preview"}
@@ -2351,7 +2351,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
def get_latest_release(self):
"""
:calls: `GET /repos/:owner/:repo/releases/latest https://developer.github.com/v3/repos/releases/#get-the-latest-release
:calls: `GET /repos/:owner/:repo/releases/latest <https://developer.github.com/v3/repos/releases/#get-the-latest-release>`_
:rtype: :class:`github.GitRelease.GitRelease`
"""
headers, data = self._requester.requestJsonAndCheck(