diff options
author | Garvit Khatri <garvit.khatri@zomato.com> | 2017-03-28 15:43:38 (GMT) |
---|---|---|
committer | R. David Murray <rdmurray@bitdance.com> | 2017-03-28 15:43:38 (GMT) |
commit | 1cf93a76c2cf307f2e1e514a8944864f746337ea (patch) | |
tree | 85c7a1a948d17182efeaf6e6405ac64105f87f99 /Misc/NEWS | |
parent | c8fa45bac2942accdb24dde318f87c9eb21dbfde (diff) | |
download | cpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.zip cpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.tar.gz cpython-1cf93a76c2cf307f2e1e514a8944864f746337ea.tar.bz2 |
bpo-10379: add 'monetary' to format_string, deprecate format
Add the 'monetary' parameter to format_string so that all
uses of format can be converted to format_string. Adjust
the documentation accordingly, and add a deprecation
warning when format is used.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -397,6 +397,9 @@ Library - bpo-29534: Fixed different behaviour of Decimal.from_float() for _decimal and _pydecimal. Thanks Andrew Nester. +- bpo-10379: locale.format_string now supports the 'monetary' keyword argument, + and locale.format is deprecated. + - Issue #28556: Various updates to typing module: typing.Counter, typing.ChainMap, improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan Levkivskyi, Manuel Krebber, and Ćukasz Langa. |