]> granicus.if.org Git - python/commitdiff
What's New for bpo-1198569 (#3303)
authorBarry Warsaw <barry@python.org>
Mon, 4 Sep 2017 21:29:27 +0000 (17:29 -0400)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2017 21:29:27 +0000 (17:29 -0400)
Doc/whatsnew/3.7.rst

index 8547660e1881a493c6c2602862ae67ab440c1c83..f0c50e89a63e90c0ab51d21d21f7378bc7825d1a 100644 (file)
@@ -223,6 +223,13 @@ New function :func:`os.register_at_fork` allows registering Python callbacks
 to be executed on a process fork.  (Contributed by Antoine Pitrou in
 :issue:`16500`.)
 
+string
+------
+
+:class:`string.Template` now lets you to optionally modify the regular
+expression pattern for braced placeholders and non-braced placeholders
+separately.  (Contributed by Barry Warsaw in :issue:`1198569`.)
+
 unittest.mock
 -------------