From f0f6ec83dd8c61e81f3f7e9fc822b7cd2b741bba Mon Sep 17 00:00:00 2001 From: Mark Bromell Date: Sat, 20 Jun 2020 03:41:25 +0100 Subject: [PATCH] Small documentation correction in Repository.py (#1565) Class `github.Clone.Clone` doesn't exist and should reference `github.Clones.Clones` instead. --- github/Repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/Repository.py b/github/Repository.py index 061139bf..7d69720f 100644 --- a/github/Repository.py +++ b/github/Repository.py @@ -1939,7 +1939,7 @@ class Repository(github.GithubObject.CompletableGithubObject): """ :calls: `GET /repos/:owner/:repo/traffic/clones `_ :param per: string, must be one of day or week, day by default - :rtype: None or list of :class:`github.Clone.Clone` + :rtype: None or list of :class:`github.Clones.Clones` """ assert per is github.GithubObject.NotSet or ( isinstance(per, str) and (per == "day" or per == "week")