]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-10379: add 'monetary' to format_string, deprecate format
authorGarvit Khatri <garvit.khatri@zomato.com>
Tue, 28 Mar 2017 15:43:38 +0000 (23:43 +0800)
committerR. David Murray <rdmurray@bitdance.com>
Tue, 28 Mar 2017 15:43:38 +0000 (11:43 -0400)
commit1cf93a76c2cf307f2e1e514a8944864f746337ea
tree85c7a1a948d17182efeaf6e6405ac64105f87f99
parentc8fa45bac2942accdb24dde318f87c9eb21dbfde
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.
Doc/library/locale.rst
Doc/whatsnew/3.7.rst
Lib/locale.py
Lib/test/test_locale.py
Lib/test/test_types.py
Misc/NEWS