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:
43f005d
)
minor readability fix
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 2 Nov 2013 17:53:34 +0000
(18:53 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 2 Nov 2013 17:53:34 +0000
(18:53 +0100)
Cython/Utility/ModuleSetupCode.c
patch
|
blob
|
history
diff --git
a/Cython/Utility/ModuleSetupCode.c
b/Cython/Utility/ModuleSetupCode.c
index
df0e6b2
..
9632d0e
100644
(file)
--- a/
Cython/Utility/ModuleSetupCode.c
+++ b/
Cython/Utility/ModuleSetupCode.c
@@
-115,7
+115,7
@@
PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
#endif
-#if PY_
MAJOR_VERSION < 3 && PY_MINOR_VERSION < 6
+#if PY_
VERSION_HEX < 0x02060000
#define PyUnicode_FromString(s) PyUnicode_Decode(s, strlen(s), "UTF-8", "strict")
#endif