jenkins-bot has submitted this change and it was merged.
Change subject: small changes and typo fixes ......................................................................
small changes and typo fixes
asynchroneous → asynchronous remove → removed etc.
Change-Id: I44ad4b7a61d0c3dbf4c2b4f90987e479a5c26fdb --- M pywikibot/config2.py M pywikibot/page.py M pywikibot/site.py 3 files changed, 7 insertions(+), 7 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Ladsgroup: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/config2.py b/pywikibot/config2.py index 4424e89..18b9ca6 100644 --- a/pywikibot/config2.py +++ b/pywikibot/config2.py @@ -609,7 +609,7 @@ # Set simulate to True or use -simulate option to block all actions given above. simulate = False
-# How many pages should be put to a queue in asynchroneous mode. +# How many pages should be put to a queue in asynchronous mode. # If maxsize is <= 0, the queue size is infinite. # Increasing this value will increase memory space but could speed up # processing. As higher this value this effect will decrease. diff --git a/pywikibot/page.py b/pywikibot/page.py index b40ec42..01efdf2 100644 --- a/pywikibot/page.py +++ b/pywikibot/page.py @@ -2750,7 +2750,7 @@ @type claims: list
""" - # this check allows single claims to be remove by pushing them into a + # this check allows single claims to be removed by pushing them into a # list of length one. if isinstance(claims, pywikibot.Claim): claims = [claims] diff --git a/pywikibot/site.py b/pywikibot/site.py index a22d8e7..212b029 100644 --- a/pywikibot/site.py +++ b/pywikibot/site.py @@ -3539,7 +3539,7 @@ return lrgen
-class DataSite (APISite): +class DataSite(APISite):
def __getattr__(self, attr): """Calls to methods get_info, get_sitelinks, get_aliases, get_labels, @@ -3568,7 +3568,7 @@
@deprecated("pywikibot.PropertyPage") def _get_propertyitem(self, props, source, **params): - """generic method to get the data for multiple Wikibase items""" + """Generic method to get the data for multiple Wikibase items""" wbdata = self.get_item(source, props=props, **params) assert props in wbdata, \ "API wbgetentities response lacks %s key" % props @@ -3576,7 +3576,7 @@
@deprecated("pywikibot.WikibasePage") def get_item(self, source, **params): - """get the data for multiple Wikibase items""" + """Get the data for multiple Wikibase items""" if isinstance(source, int) or \ isinstance(source, basestring) and source.isdigit(): ids = 'q' + str(source) @@ -3585,11 +3585,11 @@ wbdata = wbrequest.submit() assert 'success' in wbdata, \ "API wbgetentities response lacks 'success' key" - assert wbdata['success'] == 1, "API 'success' key ist not 1" + assert wbdata['success'] == 1, "API 'success' key is not 1" assert 'entities' in wbdata, \ "API wbgetentities response lacks 'entities' key" assert ids in wbdata['entities'], \ - "API wbgetentities response lacks %s key" % ids + "API wbgetentities response lacks %s key" % ids return wbdata['entities'][ids] else: # not implemented yet