Skip to content

Commit

Permalink
__init__.py: Specify the rtype for Site
Browse files Browse the repository at this point in the history
Change-Id: I6a9b8711e6abf920d3bc217b7745f6b8de71b415
  • Loading branch information
5j9 committed Jul 18, 2016
1 parent 39a1bc4 commit 77e0d66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pywikibot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 77e0d66

Please sign in to comment.