Skip to content

Commit ff23488

Browse files
committed
fixup! Use set instead of list for block level elements
1 parent 86ed890 commit ff23488

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(self, **kwargs):
115115

116116
# `BLOCK_LEVEL_ELEMENTS` is actually a hybrid list/set container.
117117
# It supports list methods for backwards compatibility.
118-
# We expliclitly lie here, so that users running type checkers will get
118+
# We explicitly lie here, so that users running type checkers will get
119119
# warnings when they use the container as a list. This is a very effective
120120
# way of communicating the change, and deprecating list-like usage.
121121
self.block_level_elements: set[str] = BLOCK_LEVEL_ELEMENTS.copy()

0 commit comments

Comments
 (0)