Debian Codegraph @

third_party/python/markdown_it_py/markdown_it/_compat.py

raw
1 from __future__ import annotations
2
3 from collections.abc import Mapping
4 import sys
5 from typing import Any
6
7 DATACLASS_KWARGS: Mapping[str, Any]
8 if sys.version_info >= (3, 10):
9 DATACLASS_KWARGS = {"slots": True}
10 else:
11 DATACLASS_KWARGS = {}