summaryrefslogtreecommitdiffstats
path: root/Lib/_markupbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/_markupbase.py')
-rw-r--r--Lib/_markupbase.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/_markupbase.py b/Lib/_markupbase.py
index 2af5f1c..7091eb6 100644
--- a/Lib/_markupbase.py
+++ b/Lib/_markupbase.py
@@ -157,6 +157,7 @@ class ParserBase:
match= _msmarkedsectionclose.search(rawdata, i+3)
else:
self.error('unknown status keyword %r in marked section' % rawdata[i+3:j])
+ match = None
if not match:
return -1
if report: