diff --git a/github/AuthenticatedUser.py b/github/AuthenticatedUser.py index 6660a8dc..8f091b6d 100644 --- a/github/AuthenticatedUser.py +++ b/github/AuthenticatedUser.py @@ -1088,7 +1088,7 @@ class AuthenticatedUser(github.GithubObject.CompletableGithubObject): direction=github.GithubObject.NotSet, ): """ - :calls: `GET /user/repos ` + :calls: `GET /user/repos `_ :param visibility: string :param affiliation: string :param type: string @@ -1299,7 +1299,7 @@ class AuthenticatedUser(github.GithubObject.CompletableGithubObject): def accept_invitation(self, invitation): """ - :calls: `PATCH /user/repository_invitations/{invitation_id} ` + :calls: `PATCH /user/repository_invitations/{invitation_id} `_ :param invitation: :class:`github.Invitation.Invitation` or int :rtype: None """ diff --git a/github/Branch.py b/github/Branch.py index 278dc5e9..d0309943 100644 --- a/github/Branch.py +++ b/github/Branch.py @@ -637,7 +637,7 @@ class Branch(github.GithubObject.NonCompletableGithubObject): def get_required_signatures(self): """ - :calls: `GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures ` + :calls: `GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures `_ """ headers, data = self._requester.requestJsonAndCheck( "GET", @@ -648,7 +648,7 @@ class Branch(github.GithubObject.NonCompletableGithubObject): def add_required_signatures(self): """ - :calls: `POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures ` + :calls: `POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures `_ """ headers, data = self._requester.requestJsonAndCheck( "POST", @@ -658,7 +658,7 @@ class Branch(github.GithubObject.NonCompletableGithubObject): def remove_required_signatures(self): """ - :calls: `DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures ` + :calls: `DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures `_ """ headers, data = self._requester.requestJsonAndCheck( "DELETE", diff --git a/github/Repository.py b/github/Repository.py index 26a6b3c6..7013a817 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1742,7 +1742,7 @@ class Repository(github.GithubObject.CompletableGithubObject): def rename_branch(self, branch, new_name): """ - :calls: `POST /repos/{owner}/{repo}/branches/{branch}/rename ` + :calls: `POST /repos/{owner}/{repo}/branches/{branch}/rename `_ :param branch: :class:`github.Branch.Branch` or string :param new_name: string :rtype: bool @@ -2506,7 +2506,7 @@ class Repository(github.GithubObject.CompletableGithubObject): def get_git_matching_refs(self, ref): """ - :calls: `GET /repos/{owner}/{repo}/git/matching-refs/{ref} ` + :calls: `GET /repos/{owner}/{repo}/git/matching-refs/{ref} `_ :rtype: :class:`github.PaginatedList.PaginatedList` of :class:`github.GitRef.GitRef` """ assert isinstance(ref, str), ref diff --git a/github/Team.py b/github/Team.py index ba4893a1..e71f3fd8 100644 --- a/github/Team.py +++ b/github/Team.py @@ -442,7 +442,7 @@ class Team(github.GithubObject.CompletableGithubObject): def remove_membership(self, member): """ - :calls: `DELETE /teams/{team_id}/memberships/{username} ` + :calls: `DELETE /teams/{team_id}/memberships/{username} `_ :param member: :return: """