mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
committed by
Guido van Rossum
parent
5a79ba1abb
commit
a20d5c481a
@@ -338,3 +338,7 @@ class Pattern(Generic[AnyStr]):
|
||||
@overload
|
||||
def subn(self, repl: Callable[[Match[AnyStr]], AnyStr], string: AnyStr,
|
||||
count: int = ...) -> Tuple[AnyStr, int]: ...
|
||||
|
||||
# Functions
|
||||
|
||||
def get_type_hints(obj: Callable) -> dict[str, Any]: ...
|
||||
|
||||
@@ -406,3 +406,7 @@ class Pattern(Generic[AnyStr]):
|
||||
@overload
|
||||
def subn(self, repl: Callable[[Match[AnyStr]], AnyStr], string: AnyStr,
|
||||
count: int = ...) -> Tuple[AnyStr, int]: ...
|
||||
|
||||
# Functions
|
||||
|
||||
def get_type_hints(obj: Callable) -> dict[str, Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user