Small documentation correction in Repository.py (#1565)

Class `github.Clone.Clone` doesn't exist and should reference `github.Clones.Clones` instead.
This commit is contained in:
Mark Bromell
2020-06-20 12:41:25 +10:00
committed by GitHub
parent cc1b884c98
commit f0f6ec83dd
+1 -1
View File
@@ -1939,7 +1939,7 @@ class Repository(github.GithubObject.CompletableGithubObject):
"""
:calls: `GET /repos/:owner/:repo/traffic/clones <https://developer.github.com/v3/repos/traffic/>`_
: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")