mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-09 21:46:43 +08:00
move generated stubs to separate directory, too messty
This commit is contained in:
20
django-stubs-generated/utils/regex_helper.pyi
Normal file
20
django-stubs-generated/utils/regex_helper.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from typing import Any, Iterator, List, Optional, Tuple, Type, Union
|
||||
|
||||
ESCAPE_MAPPINGS: Any
|
||||
|
||||
class Choice(list): ...
|
||||
class Group(list): ...
|
||||
class NonCapture(list): ...
|
||||
|
||||
def normalize(pattern: str) -> List[Tuple[str, List[str]]]: ...
|
||||
def next_char(input_iter: Any) -> None: ...
|
||||
def walk_to_end(ch: str, input_iter: Iterator[Any]) -> None: ...
|
||||
def get_quantifier(
|
||||
ch: str, input_iter: Iterator[Any]
|
||||
) -> Tuple[int, Optional[str]]: ...
|
||||
def contains(
|
||||
source: Union[Group, NonCapture, str], inst: Type[Group]
|
||||
) -> bool: ...
|
||||
def flatten_result(
|
||||
source: Optional[Union[List[Union[Choice, Group, str]], Group, NonCapture]]
|
||||
) -> Tuple[List[str], List[List[str]]]: ...
|
||||
Reference in New Issue
Block a user