diff --git a/src/ft2font_wrapper.cpp b/src/ft2font_wrapper.cpp index 25b2d173f5e9..0fdb0165b462 100644 --- a/src/ft2font_wrapper.cpp +++ b/src/ft2font_wrapper.cpp @@ -73,8 +73,8 @@ static PyObject *PyFT2Image_draw_rect(PyFT2Image *self, PyObject *args) { char const* msg = "FT2Image.draw_rect is deprecated since Matplotlib 3.8 and will be removed " - "in Matplotlib 3.10 releases later as it is not used in the library. " - "If you rely on it, please let us know."; + "in Matplotlib 3.10 as it is not used in the library. If you rely on it, " + "please let us know."; if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) { return NULL; } @@ -838,8 +838,8 @@ const char *PyFT2Font_get_xys__doc__ = static PyObject *PyFT2Font_get_xys(PyFT2Font *self, PyObject *args, PyObject *kwds) { char const* msg = - "FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed two " - "meso releases later as it is not used in the library. If you rely on it, " + "FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed in " + "Matplotlib 3.10 as it is not used in the library. If you rely on it, " "please let us know."; if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) { return NULL;