mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -6,5 +6,5 @@ __all__ = ("loads", "load", "TOMLDecodeError")
|
||||
|
||||
class TOMLDecodeError(ValueError): ...
|
||||
|
||||
def load(__fp: SupportsRead[bytes], *, parse_float: Callable[[str], Any] = ...) -> dict[str, Any]: ...
|
||||
def loads(__s: str, *, parse_float: Callable[[str], Any] = ...) -> dict[str, Any]: ...
|
||||
def load(fp: SupportsRead[bytes], /, *, parse_float: Callable[[str], Any] = ...) -> dict[str, Any]: ...
|
||||
def loads(s: str, /, *, parse_float: Callable[[str], Any] = ...) -> dict[str, Any]: ...
|
||||
|
||||
Reference in New Issue
Block a user