Skip to content

Commit e717248

Browse files
authored
🔧 Minor type annotation fix (#259)
1 parent 07e9b7d commit e717248

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

markdown_it/_compat.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
import sys
55
from typing import Any
66

7+
DATACLASS_KWARGS: Mapping[str, Any]
78
if sys.version_info >= (3, 10):
8-
DATACLASS_KWARGS: Mapping[str, Any] = {"slots": True}
9+
DATACLASS_KWARGS = {"slots": True}
910
else:
10-
DATACLASS_KWARGS: Mapping[str, Any] = {}
11+
DATACLASS_KWARGS = {}

0 commit comments

Comments
 (0)