[Python-checkins] [python/cpython] 1cf93a: bpo-10379: add 'monetary' to format_string, deprec...

GitHub noreply at github.com
Tue Mar 28 11:43:40 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 1cf93a76c2cf307f2e1e514a8944864f746337ea
      https://github.com/python/cpython/commit/1cf93a76c2cf307f2e1e514a8944864f746337ea
  Author: Garvit Khatri <garvit.khatri at zomato.com>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M Doc/library/locale.rst
    M Doc/whatsnew/3.7.rst
    M Lib/locale.py
    M Lib/test/test_locale.py
    M Lib/test/test_types.py
    M Misc/NEWS

  Log Message:
  -----------
  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.




More information about the Python-checkins mailing list