jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/339950 )
Change subject: WbQuantity.fromWikibase: Fix typo in docstring ......................................................................
WbQuantity.fromWikibase: Fix typo in docstring
WbQuanity -> WbQuantity
Change-Id: Id4303731c4dfb0c90a0b78c812a30aa20b3f6652 --- M pywikibot/__init__.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
diff --git a/pywikibot/__init__.py b/pywikibot/__init__.py index f9782ce..279be25 100644 --- a/pywikibot/__init__.py +++ b/pywikibot/__init__.py @@ -720,13 +720,13 @@ @classmethod def fromWikibase(cls, wb, site=None): """ - Create a WbQuanity from the JSON data given by the Wikibase API. + Create a WbQuantity from the JSON data given by the Wikibase API.
@param wb: Wikibase JSON @type wb: dict @param site: The Wikibase site @type site: pywikibot.site.DataSite - @rtype: pywikibot.WbQuanity + @rtype: pywikibot.WbQuantity """ amount = cls._todecimal(wb['amount']) upperBound = cls._todecimal(wb.get('upperBound'))
pywikibot-commits@lists.wikimedia.org