summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools')
-rwxr-xr-xDoc/tools/indfix.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tools/indfix.py b/Doc/tools/indfix.py
index ede1d16..395f095 100755
--- a/Doc/tools/indfix.py
+++ b/Doc/tools/indfix.py
@@ -40,7 +40,8 @@ def dump_entries(write, entries):
write(" \subitem %s%s\n" % (subitem, pages))
-breakable_re = re.compile(r" \\item (.*) [(](.*)[)]((?:, \d+)+)")
+breakable_re = re.compile(
+ r" \\item (.*) [(](.*)[)]((?:(?:, \d+)|(?:, \\[a-z]*\{\d+\}))+)")
def main():
import getopt