varia.website/venv/lib/python3.11/site-packages/markdown_it/_compat.py

12 lines
246 B
Python
Raw Normal View History

2024-11-19 14:01:39 +01:00
from __future__ import annotations
from collections.abc import Mapping
import sys
from typing import Any
DATACLASS_KWARGS: Mapping[str, Any]
if sys.version_info >= (3, 10):
DATACLASS_KWARGS = {"slots": True}
else:
DATACLASS_KWARGS = {}