bpo-47211: Remove function re.template() and flag re.TEMPLATE (GH-32300)

They were undocumented and never working.
This commit is contained in:
Serhiy Storchaka 2022-04-06 19:53:50 +03:00 committed by GitHub
parent da922409ac
commit b09184bf05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 18 deletions

View file

@ -1323,7 +1323,6 @@ pattern_repr(PatternObject *obj)
const char *name;
int value;
} flag_names[] = {
{"re.TEMPLATE", SRE_FLAG_TEMPLATE},
{"re.IGNORECASE", SRE_FLAG_IGNORECASE},
{"re.LOCALE", SRE_FLAG_LOCALE},
{"re.MULTILINE", SRE_FLAG_MULTILINE},