From 286cf17b23890b709a7b55ecb21148af88577779 Mon Sep 17 00:00:00 2001 From: Nat Williams Date: Mon, 16 Apr 2012 13:48:54 -0500 Subject: add some docs I missed --- pygithub3/services/git_data/commits.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pygithub3/services/git_data/commits.py') diff --git a/pygithub3/services/git_data/commits.py b/pygithub3/services/git_data/commits.py index cdca300..4debd95 100644 --- a/pygithub3/services/git_data/commits.py +++ b/pygithub3/services/git_data/commits.py @@ -8,7 +8,13 @@ class Commits(Service): """Consume `Commits API `_""" def get(self, sha, user=None, repo=None): - """get a commit from the current repo""" + """get a commit from the current repo + + :param str sha: SHA of the Commit that you want. + :param str user: Username + :param str repo: Repository + + """ request = self.make_request('git_data.commits.get', sha=sha, user=user, repo=repo) return self._get(request) -- cgit v1.2.3-59-g8ed1b