mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-29 07:06:55 +08:00
Use assignment instead of annotation in third party enums (#11957)
This commit is contained in:
@@ -44,42 +44,42 @@ class RegexFlag(enum.IntFlag):
|
||||
X = 0x40
|
||||
VERBOSE = X
|
||||
|
||||
A: int
|
||||
ASCII: int
|
||||
B: int
|
||||
BESTMATCH: int
|
||||
D: int
|
||||
DEBUG: int
|
||||
E: int
|
||||
ENHANCEMATCH: int
|
||||
F: int
|
||||
FULLCASE: int
|
||||
I: int
|
||||
IGNORECASE: int
|
||||
L: int
|
||||
LOCALE: int
|
||||
M: int
|
||||
MULTILINE: int
|
||||
P: int
|
||||
POSIX: int
|
||||
R: int
|
||||
REVERSE: int
|
||||
T: int
|
||||
TEMPLATE: int
|
||||
S: int
|
||||
DOTALL: int
|
||||
U: int
|
||||
UNICODE: int
|
||||
V0: int
|
||||
VERSION0: int
|
||||
V1: int
|
||||
VERSION1: int
|
||||
W: int
|
||||
WORD: int
|
||||
X: int
|
||||
VERBOSE: int
|
||||
A = RegexFlag.A
|
||||
ASCII = RegexFlag.ASCII
|
||||
B = RegexFlag.B
|
||||
BESTMATCH = RegexFlag.BESTMATCH
|
||||
D = RegexFlag.D
|
||||
DEBUG = RegexFlag.DEBUG
|
||||
E = RegexFlag.E
|
||||
ENHANCEMATCH = RegexFlag.ENHANCEMATCH
|
||||
F = RegexFlag.F
|
||||
FULLCASE = RegexFlag.FULLCASE
|
||||
I = RegexFlag.I
|
||||
IGNORECASE = RegexFlag.IGNORECASE
|
||||
L = RegexFlag.L
|
||||
LOCALE = RegexFlag.LOCALE
|
||||
M = RegexFlag.M
|
||||
MULTILINE = RegexFlag.MULTILINE
|
||||
P = RegexFlag.P
|
||||
POSIX = RegexFlag.POSIX
|
||||
R = RegexFlag.R
|
||||
REVERSE = RegexFlag.REVERSE
|
||||
T = RegexFlag.T
|
||||
TEMPLATE = RegexFlag.TEMPLATE
|
||||
S = RegexFlag.S
|
||||
DOTALL = RegexFlag.DOTALL
|
||||
U = RegexFlag.U
|
||||
UNICODE = RegexFlag.UNICODE
|
||||
V0 = RegexFlag.V0
|
||||
VERSION0 = RegexFlag.VERSION0
|
||||
V1 = RegexFlag.V1
|
||||
VERSION1 = RegexFlag.VERSION1
|
||||
W = RegexFlag.W
|
||||
WORD = RegexFlag.WORD
|
||||
X = RegexFlag.X
|
||||
VERBOSE = RegexFlag.VERBOSE
|
||||
|
||||
DEFAULT_VERSION: int
|
||||
DEFAULT_VERSION: RegexFlag
|
||||
|
||||
_Lexicon: TypeAlias = list[tuple[AnyStr, Callable[[Scanner[AnyStr], AnyStr], Any]]]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user