mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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)
|
||||
outfile = base + ".ind"
|
||||
ofp = open(outfile, "w")
|
||||
ofp.write("\\begin{theindex}\n\label{modindex}\n\n")
|
||||
ofp.write("\\begin{theindex}\n\n")
|
||||
lines = ifp.readlines()
|
||||
for i in range(len(lines)):
|
||||
if lines[i][0] == '\\':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue