mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix type stubs in typing.pyi (#1263)
This commit is contained in:
committed by
Guido van Rossum
parent
2053e5882f
commit
9f433a57f4
@@ -385,7 +385,8 @@ class Pattern(Generic[AnyStr]):
|
||||
|
||||
# Functions
|
||||
|
||||
def get_type_hints(obj: Callable) -> dict[str, Any]: ...
|
||||
def get_type_hints(obj: Callable, globalns: Optional[dict[Text, Any]] = ...,
|
||||
localns: Optional[dict[Text, Any]] = ...) -> None: ...
|
||||
|
||||
def cast(tp: Type[_T], obj: Any) -> _T: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user