Skip to content

Commit

Permalink
Merge "WbQuantity.fromWikibase: Fix typo in docstring"
Browse files Browse the repository at this point in the history
  • Loading branch information
jenkins-bot authored and Gerrit Code Review committed Feb 27, 2017
2 parents a463c17 + f5ae4ae commit b25ec06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywikibot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -720,13 +720,13 @@ def toWikibase(self):
@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'))
Expand Down

0 comments on commit b25ec06

Please sign in to comment.