mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
9 lines
326 B
Python
9 lines
326 B
Python
from _typeshed import SupportsRead
|
|
from collections.abc import Callable
|
|
from typing import Any
|
|
|
|
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]: ...
|