mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
1 parent
2cb6b14834
commit
a3c9392331
2 files changed
+4
No files matched your search
@@ -460,6 +460,8 @@ def get_type_hints(
|
||||
def cast(tp: Type[_T], obj: Any) -> _T: ...
|
||||
@overload
|
||||
def cast(tp: str, obj: Any) -> Any: ...
|
||||
@overload
|
||||
def cast(tp: object, obj: Any) -> Any: ...
|
||||
|
||||
# Type constructors
|
||||
|
||||
|
||||
Reference in new issue
Block a user