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
ef98285c
Commit
ef98285c
authored
Feb 23, 2009
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
5c61ab41
4b6142dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-1
No files found.
Cython/Compiler/Nodes.py
View file @
ef98285c
...
@@ -1238,7 +1238,8 @@ class FuncDefNode(StatNode, BlockNode):
...
@@ -1238,7 +1238,8 @@ class FuncDefNode(StatNode, BlockNode):
"%s = %s;"
%
(
"%s = %s;"
%
(
arg
.
default_entry
.
cname
,
arg
.
default_entry
.
cname
,
default
.
result_as
(
arg
.
default_entry
.
type
)))
default
.
result_as
(
arg
.
default_entry
.
type
)))
default
.
generate_post_assignment_code
(
code
)
if
default
.
is_temp
and
default
.
type
.
is_pyobject
:
code
.
putln
(
"%s = 0;"
%
default
.
result
())
default
.
free_temps
(
code
)
default
.
free_temps
(
code
)
code
.
put_giveref
(
arg
.
default_entry
.
cname
)
code
.
put_giveref
(
arg
.
default_entry
.
cname
)
# For Python class methods, create and store function object
# For Python class methods, create and store function object
...
...
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