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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
920a8f1a
Commit
920a8f1a
authored
Jul 16, 2008
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpdef cleanup (for safety)
parent
245461ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+1
-3
No files found.
Cython/Compiler/Nodes.py
View file @
920a8f1a
...
...
@@ -1920,9 +1920,7 @@ class OverrideCheckNode(StatNode):
function
=
self
.
func_node
,
args
=
[
ExprNodes
.
NameNode
(
self
.
pos
,
name
=
arg
.
name
)
for
arg
in
self
.
args
[
first_arg
:]])
self
.
body
=
ReturnStatNode
(
self
.
pos
,
value
=
call_node
)
# self.func_temp = env.allocate_temp_pyobject()
self
.
body
.
analyse_expressions
(
env
)
# env.release_temp(self.func_temp)
def
generate_execution_code
(
self
,
code
):
# Check to see if we are an extension type
...
...
@@ -1946,7 +1944,7 @@ class OverrideCheckNode(StatNode):
code
.
putln
(
'if (!%s || %s) {'
%
(
is_builtin_function_or_method
,
is_overridden
))
self
.
body
.
generate_execution_code
(
code
)
code
.
putln
(
'}'
)
code
.
put_decref
(
self
.
func_node
.
result_code
,
PyrexTypes
.
py_object_type
)
code
.
put_decref
_clear
(
self
.
func_node
.
result_code
,
PyrexTypes
.
py_object_type
)
code
.
putln
(
"}"
)
class
ClassDefNode
(
StatNode
,
BlockNode
):
...
...
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