Skip to content

Commit

Permalink
Add string section to Whatsnew with new Template methods
Browse files Browse the repository at this point in the history
  • Loading branch information
CAM-Gerlach committed Oct 16, 2022
1 parent 146f168 commit 4d7e6dd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,17 @@ 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.


sys
---

Expand Down

0 comments on commit 4d7e6dd

Please sign in to comment.