Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e5c3e416
Commit
e5c3e416
authored
Nov 19, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust input pre-processing so that a comment on the last line does not
break the processor; this will do the right thing.
parent
89d0b14a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Doc/tools/sgmlconv/latex2esis.py
Doc/tools/sgmlconv/latex2esis.py
+3
-1
No files found.
Doc/tools/sgmlconv/latex2esis.py
View file @
e5c3e416
...
@@ -109,7 +109,9 @@ class Conversion:
...
@@ -109,7 +109,9 @@ class Conversion:
self
.
write
=
ofp
.
write
self
.
write
=
ofp
.
write
self
.
ofp
=
ofp
self
.
ofp
=
ofp
self
.
table
=
table
self
.
table
=
table
self
.
line
=
string
.
join
([
s
.
rstrip
()
for
s
in
ifp
.
readlines
()],
"
\
n
"
)
L
=
[
s
.
rstrip
()
for
s
in
ifp
.
readlines
()]
L
.
append
(
""
)
self
.
line
=
string
.
join
(
L
,
"
\
n
"
)
self
.
preamble
=
1
self
.
preamble
=
1
def
convert
(
self
):
def
convert
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment