FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-95913 Add string section to Whatsnew with new Template methods by CAM-Gerlach · Pull Request #98311 · python/cpython · GitHub

/ cpython Public
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
12 changes: 12 additions & 0 deletions Doc/whatsnew/3.11.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,18 @@ 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.
(Contributed by Ben Kehoe in :gh:`90465`.)


sys
---

Expand Down

Back | FazBrowse Home | New Git URL