Skip to content

Commit

Permalink
馃敡 Minor type annotation fix (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsewell committed Mar 25, 2023
1 parent 07e9b7d commit e717248
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions markdown_it/_compat.py
Expand Up @@ -4,7 +4,8 @@
import sys
from typing import Any

DATACLASS_KWARGS: Mapping[str, Any]
if sys.version_info >= (3, 10):
DATACLASS_KWARGS: Mapping[str, Any] = {"slots": True}
DATACLASS_KWARGS = {"slots": True}
else:
DATACLASS_KWARGS: Mapping[str, Any] = {}
DATACLASS_KWARGS = {}

0 comments on commit e717248

Please sign in to comment.