gh-95913 Add string section to Whatsnew with new Template methods (#98311)

This commit is contained in:
C.A.M. Gerlach 2022-10-24 07:33:04 -05:00 committed by GitHub
parent 75a6fadf36
commit e2dc223004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -949,6 +949,18 @@ sqlite3
(Contributed by Aviv Palivoda and Erlend E. Aasland in :issue:`24905`.)
.. _whatsnew311-string:
string
------
* Add :meth:`~string.Template.get_identifiers`
and :meth:`~string.Template.is_valid` to :class:`string.Template`,
which respectively return all valid placeholders,
and whether any invalid placeholders are present.
(Contributed by Ben Kehoe in :gh:`90465`.)
sys
---