Files
typeshed/stdlib/sre_compile.pyi
2022-07-12 15:32:48 +02:00

12 lines
334 B
Python

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