diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index f0f3c50d3..19304f8c3 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -273,8 +273,8 @@ PYBIND11_WARNING_DISABLE_MSVC(4505) #include // Reminder: WITH_THREAD is always defined if PY_VERSION_HEX >= 0x03070000 -#if PY_VERSION_HEX < 0x03060000 -# error "PYTHON < 3.6 IS UNSUPPORTED. pybind11 v2.9 was the last to support Python 2 and 3.5." +#if PY_VERSION_HEX < 0x03070000 +# error "PYTHON < 3.7 IS UNSUPPORTED. pybind11 v2.12 was the last to support Python 3.6." #endif #include #include