mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
Don't generate a \label{} here.
This commit is contained in:
parent
2eda4ca4df
commit
8fcad7beb1
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ def main():
|
||||||
base, ext = os.path.splitext(infile)
|
base, ext = os.path.splitext(infile)
|
||||||
outfile = base + ".ind"
|
outfile = base + ".ind"
|
||||||
ofp = open(outfile, "w")
|
ofp = open(outfile, "w")
|
||||||
ofp.write("\\begin{theindex}\n\label{modindex}\n\n")
|
ofp.write("\\begin{theindex}\n\n")
|
||||||
lines = ifp.readlines()
|
lines = ifp.readlines()
|
||||||
for i in range(len(lines)):
|
for i in range(len(lines)):
|
||||||
if lines[i][0] == '\\':
|
if lines[i][0] == '\\':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue