Skip to content

Commit 7dbd010

Browse files
authored
fix: use collections.abc Set (#5)
1 parent 9009dc9 commit 7dbd010

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/python_hiccup/transform/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
from collections import defaultdict
44
from collections.abc import Mapping, Sequence
5+
from collections.abc import Set as AbstractSet
56
from functools import reduce
67

7-
Item = str | set | Mapping | Sequence
8+
Item = str | AbstractSet | Mapping | Sequence
89

910
ATTRIBUTES = "attributes"
1011
BOOLEAN_ATTRIBUTES = "boolean_attributes"

0 commit comments

Comments
 (0)