projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63c226f
)
cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 4 Oct 2009 11:54:55 +0000
(13:54 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 4 Oct 2009 11:54:55 +0000
(13:54 +0200)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 612cc8f0215dc46db4b31806de6fbe4ba0b27ad9..2d21584b6f21f66e2f5357fed34390964021d196 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-897,12
+897,6
@@
class OptimizeBuiltinCalls(Visitor.VisitorTransform):
self.PyUnicode_AsXyzString_func_type,
'encode', is_unbound_method, [string_node])
- return self._substitute_method_call(
- node, "PyUnicode_AsEncodedString",
- self.PyUnicode_AsEncodedString_func_type,
- 'encode', is_unbound_method,
- [string_node, encoding_node, null_node])
-
return self._substitute_method_call(
node, "PyUnicode_AsEncodedString",
self.PyUnicode_AsEncodedString_func_type,