summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-10-25 22:13:10 (GMT)
committerFred Drake <fdrake@acm.org>1996-10-25 22:13:10 (GMT)
commit893e5e0a15d79f9dd3cc737974371f4a0149c87a (patch)
treedbc3995d4784f1125cbc6a19b839a6ded4d42830 /Doc/tools
parent6c3a3aa17b028f6b93067083d32c7eaa4338757c (diff)
downloadcpython-893e5e0a15d79f9dd3cc737974371f4a0149c87a.zip
cpython-893e5e0a15d79f9dd3cc737974371f4a0149c87a.tar.gz
cpython-893e5e0a15d79f9dd3cc737974371f4a0149c87a.tar.bz2
(partparse.py): Fix nasty bug where \e got translated to @e only within
the optional arg of an \item[].
Diffstat (limited to 'Doc/tools')
-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