aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Chinn <brandonchinn178@gmail.com>2016-09-29 20:25:21 -0700
committerWaylan Limberg <waylan.limberg@icloud.com>2016-09-29 23:25:21 -0400
commit251183ef2817dcf09f502bea15423f6e81c5e228 (patch)
tree700aab1995a1618ba62bb0341757002d9d630c47
parent1550bdbf954095182f5a5885e4e88bc1eff51b22 (diff)
downloadmarkdown-251183ef2817dcf09f502bea15423f6e81c5e228.tar.gz
markdown-251183ef2817dcf09f502bea15423f6e81c5e228.tar.bz2
markdown-251183ef2817dcf09f502bea15423f6e81c5e228.zip
getiterator to iter (#501)
-rw-r--r--markdown/extensions/attr_list.py2
1 files changed, 1 insertions, 1 deletions
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