Lib/tomllib/__init__.py
raw| 1 | # SPDX-License-Identifier: MIT |
| 2 | # SPDX-FileCopyrightText: 2021 Taneli Hukkinen |
| 3 | # Licensed to PSF under a Contributor Agreement. |
| 4 | |
| 5 | __all__ = ("loads", "load", "TOMLDecodeError") |
| 6 | |
| 7 | from ._parser import TOMLDecodeError, load, loads |
| 8 | |
| 9 | # Pretend this exception was created here. |
| 10 | TOMLDecodeError.__module__ = __name__ |