From 77e0d6620822c561996b77efae685c8c0584896b Mon Sep 17 00:00:00 2001 From: dalba Date: Mon, 18 Jul 2016 19:27:35 +0430 Subject: [PATCH] __init__.py: Specify the rtype for Site Change-Id: I6a9b8711e6abf920d3bc217b7745f6b8de71b415 --- pywikibot/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index c80c9e184d..70771dd125 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -744,6 +744,8 @@ def Site(code=None, fam=None, user=None, sysop=None, interface=None, url=None): @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):