mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-94226: Remove the locale.format() function (#94229)
Remove the locale.format() function, deprecated in Python 3.7: use locale.format_string() instead. Remove TestFormatPatternArg test case: it is irrelevant for locale.format_string() which accepts complex formats.
This commit is contained in:
parent
44c8e68b8c
commit
cc0d5e568e
6 changed files with 58 additions and 102 deletions
|
@ -269,6 +269,11 @@ Removed
|
|||
:func:`ssl.match_hostname` function.
|
||||
(Contributed by Victor Stinner in :gh:`94199`.)
|
||||
|
||||
* Remove the :func:`locale.format` function, deprecated in Python 3.7:
|
||||
use :func:`locale.format_string` instead.
|
||||
(Contributed by Victor Stinner in :gh:`94226`.)
|
||||
|
||||
|
||||
Porting to Python 3.12
|
||||
======================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue