summaryrefslogtreecommitdiffstats
path: root/Doc/tools/partparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tools/partparse.py')
-rw-r--r--Doc/tools/partparse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/partparse.py b/Doc/tools/partparse.py
index ea519b6..b83ad83 100644
--- a/Doc/tools/partparse.py
+++ b/Doc/tools/partparse.py
@@ -1509,6 +1509,7 @@ def changeit(buf, pp):
ingroupch = pp[i:newi]
del pp[i:newi]
length = length - (newi-i)
+ changeit(buf, ingroupch) # catch stuff inside the optional arg
pp.insert(i, chunk(GROUP, ch.where, ingroupch))
i, length = i+1, length+1