summaryrefslogtreecommitdiffstats
path: root/Modules/_sre/sre_constants.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-04-06 16:53:50 (GMT)
committerGitHub <noreply@github.com>2022-04-06 16:53:50 (GMT)
commitb09184bf05b07b77c5ecfedd4daa846be3cbf0a9 (patch)
tree55859571882a7468d2d5ab33288b16ca1536776b /Modules/_sre/sre_constants.h
parentda922409ac3e65c6bf2911401c7dfdf8ee6e0036 (diff)
downloadcpython-b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.zip
cpython-b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.tar.gz
cpython-b09184bf05b07b77c5ecfedd4daa846be3cbf0a9.tar.bz2
bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)
They were undocumented and never working.
Diffstat (limited to 'Modules/_sre/sre_constants.h')
-rw-r--r--Modules/_sre/sre_constants.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_sre/sre_constants.h b/Modules/_sre/sre_constants.h
index 3e36431..e53fa39 100644
--- a/Modules/_sre/sre_constants.h
+++ b/Modules/_sre/sre_constants.h
@@ -86,7 +86,6 @@
#define SRE_CATEGORY_UNI_NOT_WORD 15
#define SRE_CATEGORY_UNI_LINEBREAK 16
#define SRE_CATEGORY_UNI_NOT_LINEBREAK 17
-#define SRE_FLAG_TEMPLATE 1
#define SRE_FLAG_IGNORECASE 2
#define SRE_FLAG_LOCALE 4
#define SRE_FLAG_MULTILINE 8