diff options
Diffstat (limited to 'src/tomli/__init__.py')
-rw-r--r-- | src/tomli/__init__.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tomli/__init__.py b/src/tomli/__init__.py new file mode 100644 index 0000000..4c6ec97 --- /dev/null +++ b/src/tomli/__init__.py @@ -0,0 +1,11 @@ +# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2021 Taneli Hukkinen +# Licensed to PSF under a Contributor Agreement. + +__all__ = ("loads", "load", "TOMLDecodeError") +__version__ = "2.0.1" # DO NOT EDIT THIS LINE MANUALLY. LET bump2version UTILITY DO IT + +from ._parser import TOMLDecodeError, load, loads + +# Pretend this exception was created here. +TOMLDecodeError.__module__ = __name__ |