We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0ae148 commit a752c51Copy full SHA for a752c51
include/pybind11/eval.h
@@ -66,7 +66,7 @@ void exec(const char (&s)[N], object global = globals(), object local = object()
66
eval<eval_statements>(s, global, local);
67
}
68
69
-#if defined(PYPY_VERSION) && PY_VERSION_MAJOR < 3
+#if defined(PYPY_VERSION) && PY_VERSION_HEX >= 0x3000000
70
template <eval_mode mode = eval_statements>
71
object eval_file(str, object, object) {
72
pybind11_fail("eval_file not supported in PyPy3. Use eval");
0 commit comments