Skip to content

Commit 4d7e6dd

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

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Doc/whatsnew/3.11.rst

+11
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,17 @@ 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+
885+
875886
sys
876887
---
877888

0 commit comments

Comments
 (0)