]> git.ipfire.org Git - thirdparty/babel.git/commit
Restore force_frac to NumberPattern.apply(), as deprecated 577/head
authorAarni Koskela <akx@iki.fi>
Mon, 7 May 2018 10:01:25 +0000 (13:01 +0300)
committerAarni Koskela <akx@iki.fi>
Mon, 7 May 2018 10:01:25 +0000 (13:01 +0300)
commit1377559c830d6c3166f1e1bdced9953e0f4045fa
tree4cb83d4f4bd50dadf2828cf8caadad536e9af64f
parent1378a3d5e7f7f111ea7828ff7429f0abbb513700
Restore force_frac to NumberPattern.apply(), as deprecated

This retains backwards compatibility (at least as far as the function's
signature is concerned) with users that are using NumberPattern.apply()
directly.

See: https://github.com/python-babel/babel/issues/550
See: https://github.com/python-babel/babel/issues/569
babel/numbers.py