summaryrefslogtreecommitdiffstats
path: root/Lib/re/_constants.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-06-14 10:26:20 (GMT)
committerGitHub <noreply@github.com>2023-06-14 10:26:20 (GMT)
commit67f69dba0a2adc68c631bad5d970bdd22fc05d91 (patch)
tree7d4a62db48b6e699597f01119286e0d1a740e747 /Lib/re/_constants.py
parentfb655e0c4581ca4bed80db0a083884b29fe142d2 (diff)
downloadcpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.zip
cpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.tar.gz
cpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.tar.bz2
gh-105687: Remove deprecated objects from `re` module (#105688)
Diffstat (limited to 'Lib/re/_constants.py')
-rw-r--r--Lib/re/_constants.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/re/_constants.py b/Lib/re/_constants.py
index d8718d3..d8e483a 100644
--- a/Lib/re/_constants.py
+++ b/Lib/re/_constants.py
@@ -13,7 +13,7 @@
# update when constants are added or removed
-MAGIC = 20221023
+MAGIC = 20230612
from _sre import MAXREPEAT, MAXGROUPS
@@ -204,7 +204,6 @@ CH_UNICODE = {
}
# flags
-SRE_FLAG_TEMPLATE = 1 # template mode (unknown purpose, deprecated)
SRE_FLAG_IGNORECASE = 2 # case insensitive
SRE_FLAG_LOCALE = 4 # honour system locale
SRE_FLAG_MULTILINE = 8 # treat target as multiline string