diff options
author | Michele Calgaro <[email protected]> | 2023-01-26 19:32:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-01-26 19:32:00 +0900 |
commit | 79f67e722a2ef1590b4eda32c010acfc258e5df6 (patch) | |
tree | 874223afaa2415c2e0ecfdce3f41458b2cb07d1a | |
parent | e0c6c2a79a668437e9c15b9e193742babeb9b8fa (diff) | |
download | pytdeextensions-79f67e722a2ef1590b4eda32c010acfc258e5df6.tar.gz pytdeextensions-79f67e722a2ef1590b4eda32c010acfc258e5df6.zip |
Minor improvement to python version detection condition.r14.1.0
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | src/pythonize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pythonize.cpp b/src/pythonize.cpp index 9d41f69..2315d75 100644 --- a/src/pythonize.cpp +++ b/src/pythonize.cpp @@ -44,7 +44,7 @@ Pythonize::Pythonize () { Py_Initialize(); -#if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION <= 6 +#if PY_VERSION_HEX < 0x03070000 // initialize thread support PyEval_InitThreads(); #endif |