diff --git a/github/Commit.pyi b/github/Commit.pyi index a57ff6e2..f9fbdc1b 100644 --- a/github/Commit.pyi +++ b/github/Commit.pyi @@ -42,7 +42,7 @@ class Commit(CompletableGithubObject): @property def files(self) -> List[File]: ... def get_combined_status(self) -> CommitCombinedStatus: ... - def get_comments(self) -> PaginatedList[GitCommit]: ... + def get_comments(self) -> PaginatedList[CommitComment]: ... def get_statuses(self) -> PaginatedList[CommitStatus]: ... def get_check_runs( self,