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'))
--
To view, visit
https://gerrit.wikimedia.org/r/339950
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id4303731c4dfb0c90a0b78c812a30aa20b3f6652
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Magul <tomasz.magulski(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>