diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2013-11-02 18:53:34 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2013-11-02 18:53:34 +0100 |
commit | 3f6a696748843ea981ebc334bb17c72d07c00dbc (patch) | |
tree | 57ef246458d7b2f870e558e765e147c289311ffa /Cython/Utility/ModuleSetupCode.c | |
parent | 43f005d06d86d2ec13dee18fd4627f85dbe3b4b0 (diff) | |
download | cython-3f6a696748843ea981ebc334bb17c72d07c00dbc.tar.gz |
minor readability fix
Diffstat (limited to 'Cython/Utility/ModuleSetupCode.c')
-rw-r--r-- | Cython/Utility/ModuleSetupCode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Utility/ModuleSetupCode.c b/Cython/Utility/ModuleSetupCode.c index df0e6b285..9632d0e63 100644 --- 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 |