minor readability fix
authorStefan Behnel <stefan_ml@behnel.de>
Sat, 2 Nov 2013 17:53:34 +0000 (18:53 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Sat, 2 Nov 2013 17:53:34 +0000 (18:53 +0100)
Cython/Utility/ModuleSetupCode.c

index df0e6b2..9632d0e 100644 (file)
           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