diff options
author | Miro Hrončok <miro@hroncok.cz> | 2022-05-25 06:05:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 06:05:35 (GMT) |
commit | 16a7e4a0b75080275bf12cfb71d54b01d85099b2 (patch) | |
tree | 6edf536e6e3c99af34a8a8d64d06e17c0cf22641 /Doc | |
parent | 08e4e887f2d4650972272b2f4441485f3e1e9aab (diff) | |
download | cpython-16a7e4a0b75080275bf12cfb71d54b01d85099b2.zip cpython-16a7e4a0b75080275bf12cfb71d54b01d85099b2.tar.gz cpython-16a7e4a0b75080275bf12cfb71d54b01d85099b2.tar.bz2 |
gh-92728: Restore re.template, but deprecate it (GH-93161)
Revert "bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)"
This reverts commit b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 12b4c22..c7ff6ca 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -1273,6 +1273,11 @@ Deprecated is now deprecated. Support will be removed in Python 3.13. (Contributed by Jingchen Ye in :gh:`90224`.) +* The :func:`re.template` function and the corresponding :const:`re.TEMPLATE` + and :const:`re.T` flags are deprecated, as they were undocumented and + lacked an obvious purpose. They will be removed in Python 3.13. + (Contributed by Serhiy Storchaka and Miro Hrončok in :gh:`92728`.) + Pending Removal in Python 3.12 ============================== |