From 21efebd305c2b8ee33f0fa81cd557fea8ffb933a Mon Sep 17 00:00:00 2001 From: djmattyg007 Date: Sat, 23 Aug 2014 11:29:27 +1000 Subject: [PATCH] Clarify return types from Repository.{create,lookup}_branch() --- src/repository.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/repository.c b/src/repository.c index 8a1400e0b..2b99558f7 100644 --- a/src/repository.c +++ b/src/repository.c @@ -293,7 +293,7 @@ Repository_git_object_lookup_prefix(Repository *self, PyObject *key) PyDoc_STRVAR(Repository_lookup_branch__doc__, - "lookup_branch(branch_name, [branch_type]) -> Object\n" + "lookup_branch(branch_name, [branch_type]) -> Branch\n" "\n" "Returns the Git reference for the given branch name (local or remote).\n" "If branch_type is GIT_BRANCH_REMOTE, you must include the remote name\n" @@ -895,7 +895,7 @@ Repository_create_tag(Repository *self, PyObject *args) PyDoc_STRVAR(Repository_create_branch__doc__, - "create_branch(name, commit, force=False) -> bytes\n" + "create_branch(name, commit, force=False) -> Branch\n" "\n" "Create a new branch \"name\" which points to a commit.\n" "\n"