Skip to content

Commit

Permalink
Updates api reference url in docstrings for repository keys
Browse files Browse the repository at this point in the history
  • Loading branch information
srijan committed May 18, 2013
1 parent e1c7052 commit 161097b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions github/RepositoryKey.py
Expand Up @@ -19,7 +19,7 @@

class RepositoryKey(github.GithubObject.CompletableGithubObject):
"""
This class represents RepositoryKeys as returned for example by http://developer.github.com/v3/todo
This class represents RepositoryKeys as returned for example by http://developer.github.com/v3/keys
"""

def __init__(self, requester, attributes, completed, repoUrl):
Expand Down Expand Up @@ -72,7 +72,7 @@ def verified(self):

def delete(self):
"""
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/todo>`_
:calls: `DELETE /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:rtype: None
"""
headers, data = self._requester.requestJsonAndCheck(
Expand All @@ -84,7 +84,7 @@ def delete(self):

def edit(self, title=github.GithubObject.NotSet, key=github.GithubObject.NotSet):
"""
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/todo>`_
:calls: `PATCH /repos/:user/:repo/keys/:id <http://developer.github.com/v3/keys>`_
:param title: string
:param key: string
:rtype: None
Expand Down

0 comments on commit 161097b

Please sign in to comment.