Skip to content

Commit a441c77

Browse files
committed
Add string section to Whatsnew with new Template methods
1 parent 146f168 commit a441c77

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
@@ -872,6 +872,18 @@ sqlite3
872872
(Contributed by Aviv Palivoda and Erlend E. Aasland in :issue:`24905`.)
873873

874874

875+
.. _whatsnew311-string:
876+
877+
string
878+
------
879+
880+
* Add :meth:`~string.Template.get_identifiers`
881+
and :meth:`~string.Template.is_valid` to :class:`string.Template`,
882+
which respectively return all valid placeholders,
883+
and whether any invalid placeholders are present.
884+
(Contributed by Ben Kehoe in :gh:`90465`.)
885+
886+
875887
sys
876888
---
877889

0 commit comments

Comments
 (0)