Files
typeshed/stdlib/sre_compile.pyi
T
2025-08-15 13:19:03 +02:00

12 lines
346 B
Python

from re import Pattern
from sre_constants import *
from sre_constants import _NamedIntConstant
from sre_parse import SubPattern
from typing import Any, Final
MAXCODE: Final[int]
def dis(code: list[_NamedIntConstant]) -> None: ...
def isstring(obj: Any) -> bool: ...
def compile(p: str | bytes | SubPattern, flags: int = 0) -> Pattern[Any]: ...