jenkins-bot has submitted this change and it was merged.
Change subject: Added "Site" to the __all__ variable ......................................................................
Added "Site" to the __all__ variable
Site did not appear in the generated documentation when we used help (pywikibot). Some IDEs that have intellisense feature depend on the function to be available in the __all__ variable for suggesting code completion. Using "from pywikibot import *" did not import Site.
Bug: T122563 Change-Id: I4a1c92a380a443d8a3bd99dc65b9e9f192e43d42 --- M pywikibot/__init__.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index 343f1bb..114c204 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -91,7 +91,7 @@ )
__all__ = ( - 'config', 'ui', 'UnicodeMixin', 'translate', + 'config', 'ui', 'Site', 'UnicodeMixin', 'translate', 'Page', 'FilePage', 'Category', 'Link', 'User', 'ItemPage', 'PropertyPage', 'Claim', 'html2unicode', 'url2unicode', 'unicode2html',
pywikibot-commits@lists.wikimedia.org