Skip to content

Commit c2cb04e

Browse files
miss-islingtonCAM-Gerlach
authored andcommitted
gh-95913 Add string section to Whatsnew with new Template methods (GH-98311)
(cherry picked from commit e2dc223) Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 965ce0d commit c2cb04e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Doc/whatsnew/3.11.rst

+12
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,18 @@ sqlite3
949949
(Contributed by Aviv Palivoda and Erlend E. Aasland in :issue:`24905`.)
950950

951951

952+
.. _whatsnew311-string:
953+
954+
string
955+
------
956+
957+
* Add :meth:`~string.Template.get_identifiers`
958+
and :meth:`~string.Template.is_valid` to :class:`string.Template`,
959+
which respectively return all valid placeholders,
960+
and whether any invalid placeholders are present.
961+
(Contributed by Ben Kehoe in :gh:`90465`.)
962+
963+
952964
sys
953965
---
954966

0 commit comments

Comments
 (0)