Updating links to Github documentation for deploy keys (#1850)

* Updating links to Github documentation for deploy keys

There are a couple of links to http://developer.github.com/v3/repos/keys/ and I believe these should be going to http://developer.github.com/v3/repos/#deploy-keys. I've updated the docstrings in this file appropriately.
This commit is contained in:
Floyd Hightower
2021-03-24 10:17:28 +11:00
committed by GitHub
parent a68577b76a
commit c27fb91966
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ import github.GithubObject
class RepositoryKey(github.GithubObject.CompletableGithubObject):
"""
This class represents RepositoryKeys. The reference can be found here http://developer.github.com/v3/repos/keys/
This class represents RepositoryKeys. The reference can be found here http://developer.github.com/v3/repos/#deploy-keys
"""
def __repr__(self):
@@ -102,7 +102,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
def delete(self):
"""
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/keys>`_
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/repos/#deploy-keys>`_
:rtype: None
"""
headers, data = self._requester.requestJsonAndCheck("DELETE", self.url)