Skip to content

Commit 251183e

Browse files
brandonchinn178waylan
authored andcommitted
getiterator to iter (#501)
1 parent 1550bdb commit 251183e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

markdown/extensions/attr_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class AttrListTreeprocessor(Treeprocessor):
8383
r'\:\-\.0-9\u00b7\u0300-\u036f\u203f-\u2040]+')
8484

8585
def run(self, doc):
86-
for elem in doc.getiterator():
86+
for elem in doc.iter():
8787
if isBlockLevel(elem.tag):
8888
# Block level: check for attrs on last line of text
8989
RE = self.BLOCK_RE

0 commit comments

Comments
 (0)