mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Update pyright (#6840)
This commit is contained in:
@@ -6,7 +6,6 @@ _T = TypeVar("_T")
|
||||
|
||||
@final
|
||||
class Pattern(Generic[AnyStr]):
|
||||
|
||||
pattern: AnyStr
|
||||
flags: int
|
||||
groups: int
|
||||
|
||||
@@ -149,6 +149,6 @@ def cache_all(value: None) -> bool: ...
|
||||
def escape(pattern: AnyStr, special_only: bool = ..., literal_spaces: bool = ...) -> AnyStr: ...
|
||||
def template(pattern: AnyStr | _regex.Pattern[AnyStr], flags: int = ...) -> _regex.Pattern[AnyStr]: ...
|
||||
|
||||
Pattern = _regex.Pattern
|
||||
Match = _regex.Match
|
||||
Pattern = _regex.Pattern[AnyStr]
|
||||
Match = _regex.Match[AnyStr]
|
||||
Regex = compile
|
||||
|
||||
Reference in New Issue
Block a user