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
316ac8b4
Commit
316ac8b4
authored
Feb 13, 2009
by
Dag Sverre Seljebotn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix problem with withstat fix
parent
c3d65de3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
Cython/Compiler/TreeFragment.py
Cython/Compiler/TreeFragment.py
+1
-2
No files found.
Cython/Compiler/TreeFragment.py
View file @
316ac8b4
...
@@ -160,8 +160,7 @@ class TemplateTransform(VisitorTransform):
...
@@ -160,8 +160,7 @@ class TemplateTransform(VisitorTransform):
def
visit_NameNode
(
self
,
node
):
def
visit_NameNode
(
self
,
node
):
temphandle
=
self
.
tempmap
.
get
(
node
.
name
)
temphandle
=
self
.
tempmap
.
get
(
node
.
name
)
if
temphandle
:
if
temphandle
:
node
.
name
=
temphandle
return
NameNode
(
pos
=
node
.
pos
,
name
=
temphandle
)
return
node
# Replace name with temporary
# Replace name with temporary
#return temphandle.ref(self.get_pos(node))
#return temphandle.ref(self.get_pos(node))
else
:
else
:
...
...
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