From bfeacded4ed18c2e5adce0ab7d83cfb884ac63c9 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 9 Mar 2020 10:56:31 +1100 Subject: [PATCH] Docstring for Repository.create_git_tag_and_release (#1425) The function create_git_tag_and_release had no docstring, so it didn't appear anywhere in our docs. Add a short one linking to the two methods it calls. Fixes #1402 --- github/Repository.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/github/Repository.py b/github/Repository.py index 169b6c01..fb31df90 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -961,6 +961,10 @@ class Repository(github.GithubObject.CompletableGithubObject): draft=False, prerelease=False, ): + """ + Convenience function that calls :meth:`Repository.create_git_tag` and + :meth:`Repository.create_git_release`. + """ self.create_git_tag(tag, tag_message, object, type, tagger) return self.create_git_release( tag,