projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb50f5b
)
fix comment
author
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 4 Jul 2012 06:41:07 +0000
(08:41 +0200)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Wed, 4 Jul 2012 06:41:07 +0000
(08:41 +0200)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index
49de059
..
f89a37b
100755
(executable)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-5088,7
+5088,7
@@
class SequenceNode(ExprNode):
code.putln("if (%s) {" % sequence_type_test)
code.putln("PyObject* sequence = %s;" % rhs.py_result())
- #
CPython
list/tuple => check size
+ # list/tuple => check size
code.putln("#if CYTHON_COMPILING_IN_CPYTHON")
code.putln("Py_ssize_t size = Py_SIZE(sequence);")
code.putln("#else")