diff options
author | Victor Stinner <vstinner@python.org> | 2022-06-26 10:41:19 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-26 10:41:19 (GMT) |
commit | cc0d5e568e1cd02ed71ade46e77789b3b2674871 (patch) | |
tree | 7207b5383611a2ab4ef55c67fb2a5f023ad3f458 /Misc | |
parent | 44c8e68b8cae2627ffe54a2ef407af0271981ed3 (diff) | |
download | cpython-cc0d5e568e1cd02ed71ade46e77789b3b2674871.zip cpython-cc0d5e568e1cd02ed71ade46e77789b3b2674871.tar.gz cpython-cc0d5e568e1cd02ed71ade46e77789b3b2674871.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-06-24-18-20-42.gh-issue-94226.8ZL4Fm.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-06-24-18-20-42.gh-issue-94226.8ZL4Fm.rst b/Misc/NEWS.d/next/Library/2022-06-24-18-20-42.gh-issue-94226.8ZL4Fm.rst new file mode 100644 index 0000000..099f945 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-06-24-18-20-42.gh-issue-94226.8ZL4Fm.rst @@ -0,0 +1,2 @@ +Remove the :func:`locale.format` function, deprecated in Python 3.7: use +:func:`locale.format_string` instead. Patch by Victor Stinner. |