summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-30 21:50:00 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-30 21:50:00 (GMT)
commit55c2ae8cb137db37bd3f985661fa5887989670e9 (patch)
treed86e6e4a2b47ae6a767ff144f70b13d4e5fcaf04 /Doc/tools
parent0b452c19b7e9e68ee8d8d0bf061305d915816c3b (diff)
parent3b4cf554e58d219958fadbf6555d94b1805173f5 (diff)
downloadcpython-55c2ae8cb137db37bd3f985661fa5887989670e9.zip
cpython-55c2ae8cb137db37bd3f985661fa5887989670e9.tar.gz
cpython-55c2ae8cb137db37bd3f985661fa5887989670e9.tar.bz2
merge with 3.4
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/rstlint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tools/rstlint.py b/Doc/tools/rstlint.py
index 66dd46a..be19ec8 100755
--- a/Doc/tools/rstlint.py
+++ b/Doc/tools/rstlint.py
@@ -45,7 +45,7 @@ directives = [
all_directives = '(' + '|'.join(directives) + ')'
seems_directive_re = re.compile(r'\.\. %s([^a-z:]|:(?!:))' % all_directives)
default_role_re = re.compile(r'(^| )`\w([^`]*?\w)?`($| )')
-leaked_markup_re = re.compile(r'[a-z]::[^=]|:[a-z]+:|`|\.\.\s*\w+:')
+leaked_markup_re = re.compile(r'[a-z]::\s|`|\.\.\s*\w+:')
checkers = {}