Fix our doc to match URLs described in Github API v3 ref doc

This commit is contained in:
Vincent Jacques
2013-07-16 10:32:57 +02:00
parent 84f3557f87
commit 8484260dc5
23 changed files with 239 additions and 230 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
def delete(self):
"""
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:calls: `DELETE /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:rtype: None
"""
headers, data = self._requester.requestJsonAndCheck(
@@ -95,7 +95,7 @@ class RepositoryKey(github.GithubObject.CompletableGithubObject):
def edit(self, title=github.GithubObject.NotSet, key=github.GithubObject.NotSet):
"""
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:calls: `PATCH /repos/:owner/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:param title: string
:param key: string
:rtype: None