test-kivy-app/kivy_venv/lib/python3.11/site-packages/build/_compat/tomllib.py

17 lines
255 B
Python
Raw Normal View History

2024-09-15 12:12:16 +00:00
from __future__ import annotations
import sys
if sys.version_info >= (3, 11):
from tomllib import TOMLDecodeError, load, loads
else:
from tomli import TOMLDecodeError, load, loads
__all__ = [
'TOMLDecodeError',
'load',
'loads',
]