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
02a1df31
Commit
02a1df31
authored
Apr 10, 2009
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unused code and outdated comment
parent
413d1d39
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+0
-11
No files found.
Cython/Compiler/ExprNodes.py
View file @
02a1df31
...
@@ -551,11 +551,6 @@ class ExprNode(Node):
...
@@ -551,11 +551,6 @@ class ExprNode(Node):
return
None
return
None
class
AtomicExprNode
(
ExprNode
):
class
AtomicExprNode
(
ExprNode
):
# I do not dare to convert NameNode yet. This is now
# ancestor of all former AtomicExprNode except
# NameNode. Should be renamed to AtomicExprNode
# when done.
# Abstract base class for expression nodes which have
# Abstract base class for expression nodes which have
# no sub-expressions.
# no sub-expressions.
...
@@ -3718,9 +3713,6 @@ class UnopNode(ExprNode):
...
@@ -3718,9 +3713,6 @@ class UnopNode(ExprNode):
def
generate_result_code
(
self
,
code
):
def
generate_result_code
(
self
,
code
):
if
self
.
operand
.
type
.
is_pyobject
:
if
self
.
operand
.
type
.
is_pyobject
:
self
.
generate_py_operation_code
(
code
)
self
.
generate_py_operation_code
(
code
)
else
:
if
self
.
is_temp
:
self
.
generate_c_operation_code
(
code
)
def
generate_py_operation_code
(
self
,
code
):
def
generate_py_operation_code
(
self
,
code
):
function
=
self
.
py_operation_function
()
function
=
self
.
py_operation_function
()
...
@@ -4147,9 +4139,6 @@ class BinopNode(ExprNode):
...
@@ -4147,9 +4139,6 @@ class BinopNode(ExprNode):
extra_args
,
extra_args
,
code
.
error_goto_if_null
(
self
.
result
(),
self
.
pos
)))
code
.
error_goto_if_null
(
self
.
result
(),
self
.
pos
)))
code
.
put_gotref
(
self
.
py_result
())
code
.
put_gotref
(
self
.
py_result
())
else
:
if
self
.
is_temp
:
self
.
generate_c_operation_code
(
code
)
def
type_error
(
self
):
def
type_error
(
self
):
if
not
(
self
.
operand1
.
type
.
is_error
if
not
(
self
.
operand1
.
type
.
is_error
...
...
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