Remove unused parameters, variables from cldr.py and ldml.py
Found these while adding type annotations. Task-number: QTBUG-129566 Change-Id: I51c8e5676f958094946c0e6f396b98c083fd9de0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> (cherry picked from commit ba9d6b261b04119b15d27f3f57dcfe0aadad5012)
This commit is contained in:
parent
b560a2c996
commit
18d790810e
@ -280,7 +280,7 @@ class CldrReader (object):
|
|||||||
currencyRounding = int(rounding))
|
currencyRounding = int(rounding))
|
||||||
|
|
||||||
locale.update(scan.currencyData(iso))
|
locale.update(scan.currencyData(iso))
|
||||||
locale.update(scan.numericData(self.root.numberSystem, self.whitter))
|
locale.update(scan.numericData(self.root.numberSystem))
|
||||||
locale.update(scan.textPatternData())
|
locale.update(scan.textPatternData())
|
||||||
locale.update(scan.endonyms(language, script, territory, variant))
|
locale.update(scan.endonyms(language, script, territory, variant))
|
||||||
locale.update(scan.unitData()) # byte, kB, MB, GB, ..., KiB, MiB, GiB, ...
|
locale.update(scan.unitData()) # byte, kB, MB, GB, ..., KiB, MiB, GiB, ...
|
||||||
|
@ -281,7 +281,7 @@ class LocaleScanner (object):
|
|||||||
yield 'currencySymbol', symbol
|
yield 'currencySymbol', symbol
|
||||||
yield 'currencyDisplayName', name
|
yield 'currencyDisplayName', name
|
||||||
|
|
||||||
def numericData(self, lookup, complain = lambda text: None):
|
def numericData(self, lookup):
|
||||||
"""Generate assorted numeric data for the locale.
|
"""Generate assorted numeric data for the locale.
|
||||||
|
|
||||||
First argument, lookup, is a callable that maps a numbering
|
First argument, lookup, is a callable that maps a numbering
|
||||||
|
Loading…
x
Reference in New Issue
Block a user