mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +00:00
gh-105687: Remove deprecated objects from re
module (#105688)
This commit is contained in:
parent
fb655e0c45
commit
67f69dba0a
9 changed files with 13 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue