Skip to content

Commit a4692a9

Browse files
committed
remove recursion bugs, add dataclass context, add plural tokens parsing
Recursion bugs removed by improved rule parsing and routing, recursion exception now handled Context improved by moving to dataclass Compute divisor fixed by adding precision context Plural tokens now parsed Typos and improved comments
1 parent 9905dd5 commit a4692a9

File tree

3 files changed

+119
-74
lines changed

3 files changed

+119
-74
lines changed

babel/numbers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
from babel.core import Locale, default_locale, get_global
3030
from babel.localedata import LocaleDataDict
31+
from babel.rbnf import RuleBasedNumberFormat
3132

3233
LC_MONETARY = default_locale(('LC_MONETARY', 'LC_NUMERIC'))
3334
LC_NUMERIC = default_locale('LC_NUMERIC')

0 commit comments

Comments
 (0)