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
ef8674b3
Commit
ef8674b3
authored
Apr 22, 2014
by
Matthias BUSSONNIER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clearup unused arguments and close P tags
parent
053fd91b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/Annotate.py
Cython/Compiler/Annotate.py
+3
-3
No files found.
Cython/Compiler/Annotate.py
View file @
ef8674b3
...
...
@@ -65,7 +65,7 @@ class AnnotationCCodeWriter(CCodeWriter):
with
codecs
.
open
(
html_filename
,
"w"
,
encoding
=
"UTF-8"
)
as
out_buffer
:
out_buffer
.
write
(
self
.
_save_annotation
(
lines
,
code_source_file
,
target_filename
,
c_file
))
def
_save_annotation
(
self
,
lines
,
code_source_file
,
target_filename
,
c_fil
e
):
def
_save_annotation
(
self
,
lines
,
code_source_file
,
c_file
=
Non
e
):
"""
lines : original cython source code split by lines
code_source_file : generated c code keyed by line number in original file
...
...
@@ -122,8 +122,8 @@ function toggleDiv(id) {
</head>
"""
)
outlist
.
append
(
u'<body>
\
n
'
)
outlist
.
append
(
u'<p>Generated by Cython %s
\
n
'
%
Version
.
watermark
)
outlist
.
append
(
u'<p>Raw output: <a href="%s">%s</a>
\
n
'
%
(
c_file
,
c_file
))
outlist
.
append
(
u'<p>Generated by Cython %s
</p>
\
n
'
%
Version
.
watermark
)
outlist
.
append
(
u'<p>Raw output: <a href="%s">%s</a>
</p>
\
n
'
%
(
c_file
,
c_file
))
zero_calls
=
dict
((
name
,
0
)
for
name
in
'refnanny py_macro_api py_c_api pyx_macro_api pyx_c_api error_goto'
.
split
())
...
...
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