Files
typeshed/stdlib/sre_compile.pyi
2021-12-22 20:18:19 -08:00

11 lines
320 B
Python

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