projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d470de
)
Py3 compile fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 31 Aug 2008 11:43:01 +0000
(13:43 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 31 Aug 2008 11:43:01 +0000
(13:43 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index b8a29c742892e7b5b0f17d14cc41cbd0d79bdd84..c16b1116cf88732052efb07e26ddc40f01a9c75b 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-4515,7
+4515,7
@@
static int __Pyx_SplitKeywords(
if (!*name) {
for (name = argnames; *name; name++) {
#if PY_MAJOR_VERSION >= 3
- if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key)
)
&&
+ if (PyUnicode_GET_SIZE(**name) == PyUnicode_GET_SIZE(key) &&
PyUnicode_Compare(**name, key) == 0) break;
#else
if (PyString_GET_SIZE(**name) == PyString_GET_SIZE(key) &&