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
43c75828
Commit
43c75828
authored
Nov 18, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
f6cb1da9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Cython/Compiler/Optimize.py
Cython/Compiler/Optimize.py
+3
-2
No files found.
Cython/Compiler/Optimize.py
View file @
43c75828
...
@@ -97,7 +97,7 @@ class DictIterTransform(Visitor.VisitorTransform):
...
@@ -97,7 +97,7 @@ class DictIterTransform(Visitor.VisitorTransform):
if
len
(
node
.
target
.
args
)
==
2
:
if
len
(
node
.
target
.
args
)
==
2
:
key_target
,
value_target
=
node
.
target
.
args
key_target
,
value_target
=
node
.
target
.
args
else
:
else
:
#
FIXME ...
#
unusual case that may or may not lead to an error
return
node
return
node
else
:
else
:
tuple_target
=
node
.
target
tuple_target
=
node
.
target
...
@@ -163,7 +163,8 @@ class DictIterTransform(Visitor.VisitorTransform):
...
@@ -163,7 +163,8 @@ class DictIterTransform(Visitor.VisitorTransform):
pos
=
dict_obj
.
pos
,
pos
=
dict_obj
.
pos
,
type
=
PyrexTypes
.
c_bint_type
,
type
=
PyrexTypes
.
c_bint_type
,
function
=
ExprNodes
.
NameNode
(
function
=
ExprNodes
.
NameNode
(
pos
=
dict_obj
.
pos
,
name
=
self
.
PyDict_Next_name
,
pos
=
dict_obj
.
pos
,
name
=
self
.
PyDict_Next_name
,
type
=
self
.
PyDict_Next_func_type
,
type
=
self
.
PyDict_Next_func_type
,
entry
=
self
.
PyDict_Next_entry
),
entry
=
self
.
PyDict_Next_entry
),
args
=
[
dict_obj
,
pos_temp_addr
,
args
=
[
dict_obj
,
pos_temp_addr
,
...
...
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