File: compat.py

package info (click to toggle)
python-pyproject-hooks 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: python: 973; sh: 5; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 121 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
__all__ = ("tomllib",)

import sys

if sys.version_info >= (3, 11):
    import tomllib
else:
    import tomli as tomllib