gh-105687: Remove deprecated objects from re module (#105688)

This commit is contained in:
Nikita Sobolev 2023-06-14 13:26:20 +03:00 committed by GitHub
parent fb655e0c45
commit 67f69dba0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 56 deletions

View file

@ -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