Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
159d0ab2
Commit
159d0ab2
authored
Jan 18, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead code
parent
b2f4e614
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
Cython/Compiler/Annotate.py
Cython/Compiler/Annotate.py
+0
-2
No files found.
Cython/Compiler/Annotate.py
View file @
159d0ab2
...
@@ -17,7 +17,6 @@ special_chars = [
...
@@ -17,7 +17,6 @@ special_chars = [
(
u'>'
,
u'
\
xF1
'
,
u'>'
),
(
u'>'
,
u'
\
xF1
'
,
u'>'
),
]
]
line_pos_comment
=
re
.
compile
(
r'/\
*.*?<<<<<<<<<<<<<<.*?
\*/\n*'
,
re
.
DOTALL
)
class
AnnotationCCodeWriter
(
CCodeWriter
):
class
AnnotationCCodeWriter
(
CCodeWriter
):
...
@@ -169,7 +168,6 @@ function toggleDiv(id) {
...
@@ -169,7 +168,6 @@ function toggleDiv(id) {
f
.
write
(
line
.
rstrip
())
f
.
write
(
line
.
rstrip
())
f
.
write
(
u'</pre>
\
n
'
)
f
.
write
(
u'</pre>
\
n
'
)
code
=
re
.
sub
(
line_pos_comment
,
''
,
code
)
# inline annotations are redundant
f
.
write
(
u"<pre id='line%s' class='code' style='background-color: #%s'>%s</pre>"
%
(
k
,
color
,
code
))
f
.
write
(
u"<pre id='line%s' class='code' style='background-color: #%s'>%s</pre>"
%
(
k
,
color
,
code
))
f
.
write
(
u'</body></html>
\
n
'
)
f
.
write
(
u'</body></html>
\
n
'
)
f
.
close
()
f
.
close
()
...
...
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