diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-06-14 10:26:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-14 10:26:20 (GMT) |
commit | 67f69dba0a2adc68c631bad5d970bdd22fc05d91 (patch) | |
tree | 7d4a62db48b6e699597f01119286e0d1a740e747 /Lib/re/_parser.py | |
parent | fb655e0c4581ca4bed80db0a083884b29fe142d2 (diff) | |
download | cpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.zip cpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.tar.gz cpython-67f69dba0a2adc68c631bad5d970bdd22fc05d91.tar.bz2 |
gh-105687: Remove deprecated objects from `re` module (#105688)
Diffstat (limited to 'Lib/re/_parser.py')
-rw-r--r-- | Lib/re/_parser.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/re/_parser.py b/Lib/re/_parser.py index 5709acb..6c8a4ec 100644 --- a/Lib/re/_parser.py +++ b/Lib/re/_parser.py @@ -61,12 +61,11 @@ FLAGS = { "x": SRE_FLAG_VERBOSE, # extensions "a": SRE_FLAG_ASCII, - "t": SRE_FLAG_TEMPLATE, "u": SRE_FLAG_UNICODE, } TYPE_FLAGS = SRE_FLAG_ASCII | SRE_FLAG_LOCALE | SRE_FLAG_UNICODE -GLOBAL_FLAGS = SRE_FLAG_DEBUG | SRE_FLAG_TEMPLATE +GLOBAL_FLAGS = SRE_FLAG_DEBUG class State: # keeps track of state for parsing |