Skip to content

Commit feaa893

Browse files
committed
Aligns functio name to the current naming scheme.
1 parent 99887ea commit feaa893

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

babel/numbers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_currency_symbol(currency, locale=LC_NUMERIC):
111111
currency, currency)
112112

113113

114-
def currency_precision(currency):
114+
def get_currency_precision(currency):
115115
"""Return currency's precision.
116116
117117
.. versionadded:: 2.5.0
@@ -386,7 +386,7 @@ def format_currency(number, currency, format=None, locale=LC_NUMERIC,
386386
raise UnknownCurrencyFormatError("%r is not a known currency format"
387387
" type" % format_type)
388388
if currency_digits:
389-
precision = currency_precision(currency)
389+
precision = get_currency_precision(currency)
390390
frac = (precision, precision)
391391
else:
392392
frac = None

0 commit comments

Comments
 (0)