mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 12:44:33 +08:00
Add tomllib.__all__ (#7433)
This commit is contained in:
1 parent
31b11c6eae
commit
fbde20797e
1 file changed
+2
@@ -2,6 +2,8 @@ from _typeshed import SupportsRead
|
||||
from collections.abc import Callable
|
||||
from typing import Any
|
||||
|
||||
__all__ = ("loads", "load", "TOMLDecodeError")
|
||||
|
||||
class TOMLDecodeError(ValueError): ...
|
||||
|
||||
def load(__fp: SupportsRead[bytes], *, parse_float: Callable[[str], Any] = ...) -> dict[str, Any]: ...
|
||||
|
||||
Reference in new issue
Block a user