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

Lines changed: 12 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy