From 251183ef2817dcf09f502bea15423f6e81c5e228 Mon Sep 17 00:00:00 2001 From: Brandon Chinn Date: Thu, 29 Sep 2016 20:25:21 -0700 Subject: getiterator to iter (#501) --- markdown/extensions/attr_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index c897a9c..9f6a99a 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -83,7 +83,7 @@ class AttrListTreeprocessor(Treeprocessor): r'\:\-\.0-9\u00b7\u0300-\u036f\u203f-\u2040]+') def run(self, doc): - for elem in doc.getiterator(): + for elem in doc.iter(): if isBlockLevel(elem.tag): # Block level: check for attrs on last line of text RE = self.BLOCK_RE -- cgit v1.2.3