jenkins-bot has submitted this change and it was merged.
Change subject: __init__.py: Specify the rtype for Site
......................................................................
__init__.py: Specify the rtype for Site
Change-Id: I6a9b8711e6abf920d3bc217b7745f6b8de71b415
---
M pywikibot/__init__.py
1 file changed, 2 insertions(+), 0 deletions(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py
index c80c9e1..70771dd 100644
--- a/pywikibot/__init__.py
+++ b/pywikibot/__init__.py
@@ -744,6 +744,8 @@
@param url: Instead of code and fam, does try to get a Site based on the
URL. Still requires that the family supporting that URL exists.
@type url: string
+ @rtype: pywikibot.site.APISite
+
"""
# Either code and fam or only url
if url and (code or fam):
--
To view, visit
https://gerrit.wikimedia.org/r/299556
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I6a9b8711e6abf920d3bc217b7745f6b8de71b415
Gerrit-PatchSet: 2
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>